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
.gitignore
check.sh
conf.c
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
gconf.c
gconf.glade
images.c
kxgettext.c
list.h
lkc_proto.h
lkc.h
Makefile
mconf.c
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
nconf.gui.c
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