android_kernel_motorola_sm6375/scripts/kconfig
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
.gitignore
check.sh
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
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.h kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
lkc_proto.h
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
nconf.h
POTFILES.in
qconf.cc kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
qconf.h
streamline_config.pl
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
zconf.hash.c_shipped
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