linux/scripts/kconfig
Arnaud Lacombe ec6452a5ec kconfig: do not overwrite symbol direct dependency in assignment
Considering the following configuration:

config F
    bool "F"

choice AB
    bool "AB"
config A
    bool "A"
config B
    bool "B"
endchoice

if A
config D
    bool
    default y if F
    select E
config E
    bool "E"
endif

if B
config D
    bool
    default y if F
    select E
config E
    bool "E"
endif

The following configuration:

 CONFIG_F=y
 CONFIG_A=y
 # CONFIG_B is not set
 CONFIG_D=y
 CONFIG_E=y

emits a spurious warning:

(D) selects E which has unmet direct dependencies (B)

If a symbol appears in two different branch of the tree, it should inherit the
dependency of both parent, not just the last one.

Reported-by: Yann E. Morin <yann.morin.1998@anciens.enib.fr>
Tested-by: Yann E. Morin <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-06-24 17:21:27 +02:00
..
lxdialog kconfig: fix menuconfig on debian lenny 2010-09-20 14:09:31 +02:00
.gitignore scripts: add nconf into gitignore file 2010-06-03 10:12:40 +02:00
check.sh kbuild: check if we can link gettext not just compile 2007-10-12 21:13:50 +02:00
conf.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
confdata.c Merge branch 'kconfig-trivial' of git://github.com/lacombar/linux-2.6 into kbuild/kconfig 2011-06-08 18:03:57 +02:00
expr.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
expr.h kconfig: nuke reference to SWIG 2011-06-06 15:32:18 -04:00
gconf.c kconfig/gconf: kill deadcode 2011-06-06 15:32:22 -04:00
gconf.glade scripts/kconfig/gconf.glade Update broken web addresses. 2010-09-17 16:54:42 +02:00
images.c
kxgettext.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
lex.zconf.c_shipped kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
lkc_proto.h Merge branch 'message-callback' into kbuild/kconfig 2010-10-28 00:54:25 +02:00
lkc.h kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
Makefile kconfig/gconf: silent missing prototype warnings 2011-06-06 15:32:23 -04:00
mconf.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
menu.c kconfig: do not overwrite symbol direct dependency in assignment 2011-06-24 17:21:27 +02:00
nconf.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
nconf.gui.c kbuild: fix typo 2010-08-17 11:00:43 +02:00
nconf.h nconfig: add search support 2010-08-16 22:04:55 +02:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
qconf.cc kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
qconf.h kconfig qconf: port to QT4 2010-09-01 16:14:29 +02:00
streamline_config.pl trivial: Fix Steven's Copyright typos 2011-02-08 17:14:31 -05:00
symbol.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
util.c kconfig: add missing <stdlib.h> inclusion 2011-06-06 15:32:16 -04:00
zconf.gperf kconfig: add an option to determine a menu's visibility 2010-11-22 11:27:17 -02:00
zconf.hash.c_shipped kconfig: regen parser 2010-11-22 11:27:32 -02:00
zconf.l kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
zconf.tab.c_shipped kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
zconf.y kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00