linux/scripts/kconfig
Catalin Marinas 246cf9c26b kbuild: Warn on selecting symbols with unmet direct dependencies
The "select" statement in Kconfig files allows the enabling of options
even if they have unmet direct dependencies (i.e. "depends on" expands
to "no"). Currently, the "depends on" clauses are used in calculating
the visibility but they do not affect the reverse dependencies in any
way.

The patch introduces additional tracking of the "depends on" statements
and prints a warning on selecting an option if its direct dependencies
are not met.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-07-02 14:53:09 +02:00
..
lxdialog menuconfig: truncate list items 2010-06-03 13:41:02 +02:00
.gitignore gitignore: ignore Kconfig i18n files 2009-06-09 22:37:47 +02:00
check.sh kbuild: check if we can link gettext not just compile 2007-10-12 21:13:50 +02:00
conf.c scripts:conf.c Fix warning: variable 'type' set but not used 2010-06-12 00:07:50 +02:00
confdata.c kbuild: generate modules.builtin 2009-12-12 13:08:16 +01:00
expr.c kconfig: print the range of integer/hex symbol in help text 2010-06-02 15:10:32 +02:00
expr.h kbuild: Warn on selecting symbols with unmet direct dependencies 2010-07-02 14:53:09 +02:00
gconf.c gconfig: fix null pointer warning 2010-06-02 15:10:33 +02:00
gconf.glade gconfig: add support to show hidden options that have prompts 2010-04-14 15:34:19 +02:00
images.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kconfig_load.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kxgettext.c kbuild: add static to prototypes 2009-09-20 12:27:44 +02:00
lex.zconf.c_shipped kconfig: Mark various internal functions static 2009-11-15 15:00:16 -08:00
lkc_proto.h menuconfig: add support to show hidden options which have prompts 2010-04-14 15:34:19 +02:00
lkc.h kconfig: new configuration interface (nconfig) 2010-02-02 14:33:55 +01:00
Makefile kconfig: introduce nonint_oldconfig and loose_nonint_oldconfig 2010-06-02 14:40:09 +02:00
mconf.c menuconfig: improive help text a bit 2010-06-02 15:10:32 +02:00
menu.c kbuild: Warn on selecting symbols with unmet direct dependencies 2010-07-02 14:53:09 +02:00
nconf.c nconfig: minor fix 2010-02-02 14:33:55 +01:00
nconf.gui.c nconfig: mark local functions as such 2010-02-02 14:33:55 +01:00
nconf.h kconfig: new configuration interface (nconfig) 2010-02-02 14:33:55 +01:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
qconf.cc xconfig: add support to show hidden options which have prompts 2010-06-02 15:10:33 +02:00
qconf.h xconfig: add support to show hidden options which have prompts 2010-06-02 15:10:33 +02:00
streamline_config.pl kconfig: Fix make O=<dir> local{mod,yes}config 2009-11-20 09:45:55 -05:00
symbol.c kbuild: Warn on selecting symbols with unmet direct dependencies 2010-07-02 14:53:09 +02:00
util.c menuconfig: wrap long help lines 2010-02-02 14:33:55 +01:00
zconf.gperf kconfig: Mark various internal functions static 2009-11-15 15:00:16 -08:00
zconf.hash.c_shipped kconfig: Mark various internal functions static 2009-11-15 15:00:16 -08:00
zconf.l kconfig: Mark various internal functions static 2009-11-15 15:00:16 -08:00
zconf.tab.c_shipped kconfig: fix zconfdump() 2010-04-14 15:34:18 +02:00
zconf.y kconfig: fix zconfdump() 2010-04-14 15:34:18 +02:00