linux/scripts/kconfig
Sam Ravnborg 184832c981 kconfig: fix randconfig for choice blocks
Ingo Molnar reported that 'make randconfig' was not covering
choice blocks properly, resulting in certain config options
being left out of randconfig testing altogether.

With the following patch we:
- properly randomize choice value for normal choice blocks
- properly randomize for multi choice blocks
- added several comments to explain what is going on

The root cause of the bug was that SYMBOL_VALID was set on the
symbol representing the choice block so clearing this did
the trick initially.
But testign revealed a few more issues that is now fixed.

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-03-15 22:54:57 +01:00
..
lxdialog kconfig: fix options to check-lxdialog.sh 2008-12-03 22:11:14 +01:00
.gitignore
Makefile x86, um: get rid of arch/um/Kconfig.arch 2008-10-22 22:55:23 -07:00
POTFILES.in
check.sh
conf.c kconfig: fix silentoldconfig 2008-09-29 08:03:01 -07:00
confdata.c kconfig: fix randconfig for choice blocks 2009-03-15 22:54:57 +01:00
expr.c kconfig: tristate choices with mixed tristate and boolean values 2008-01-28 23:21:18 +01:00
expr.h kconfig: struct property commented 2009-01-02 20:43:21 +01:00
gconf.c
gconf.glade
images.c
kconfig_load.c
kxgettext.c
lex.zconf.c_shipped kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
lkc.h kconfig: set all new symbols automatically 2008-07-25 22:12:48 +02:00
lkc_proto.h kconfig: add named choice group 2008-04-28 23:05:48 +02:00
mconf.c kconfig: fix MAC OS X warnings in menuconfig 2008-05-04 21:03:20 +02:00
menu.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
qconf.cc
qconf.h
symbol.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
util.c kconfig: incorrect 'len' field initialisation ? 2008-05-19 20:14:49 +02:00
zconf.gperf kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.hash.c_shipped kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.l kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
zconf.tab.c_shipped kconfig: add named choice group 2008-04-28 23:05:48 +02:00
zconf.y kconfig: add named choice group 2008-04-28 23:05:48 +02:00