linux/scripts/kconfig
Yann E. MORIN e062781397 kconfig: do not allow more than one symbol to have 'option modules'
Previously, it was possible to have more than one symbol with the
'option modules' attached to them, although only the last one would
in fact control tristates.

Since this does not make much sense, only allow at most one symbol to
control tristates.

Note: it is still possible to have more than one symbol that control
tristates, but indirectly:

    config MOD1
        bool "mod1"
        select MODULES
    config MOD2
        bool "mod2"
        select MODULES
    config MODULES
        bool
        option modules

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2013-09-05 11:10:08 +02:00
..
lxdialog Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2013-07-10 16:06:46 -07:00
.gitignore
check.sh
conf.c kconfig: loop as long as we changed some symbols in randconfig 2013-06-24 20:03:30 +02:00
confdata.c kconfig: silence warning when parsing auto.conf when a symbol has changed type 2013-08-15 22:48:08 +02:00
expr.c
expr.h kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on 2013-06-16 11:00:30 +02:00
gconf.c
gconf.glade
images.c
kxgettext.c
list.h
lkc_proto.h mconf/nconf: mark empty menus/menuconfigs different from non-empty ones 2013-06-18 23:58:59 +02:00
lkc.h kconfig: loop as long as we changed some symbols in randconfig 2013-06-24 20:03:30 +02:00
Makefile
mconf.c Merge branch 'yem-kconfig-rc-fixes' of git://gitorious.org/linux-kconfig/linux-kconfig into kbuild/kconfig 2013-07-23 15:57:17 +02:00
menu.c kconfig: do not allow more than one symbol to have 'option modules' 2013-09-05 11:10:08 +02:00
merge_config.sh
nconf.c kconfig/[mn]conf: shorten title in search-box 2013-07-16 20:26:47 +02:00
nconf.gui.c nconf: use function calls instead of ncurses' variables LINES and COLS 2013-06-18 23:58:58 +02:00
nconf.h
POTFILES.in
qconf.cc
qconf.h
streamline_config.pl
symbol.c kconfig: switch to "long long" for sanity 2013-08-15 22:48:06 +02:00
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.lex.c_shipped
zconf.tab.c_shipped kconfig: regenerate bison parser 2013-09-05 11:10:01 +02:00
zconf.y kconfig: do not special-case 'MODULES' symbol 2013-09-05 11:09:17 +02:00