linux/scripts
Ulf Magnusson ac1ffde1ba kconfig: fix MODULES-related bug in case of no .config
There seems to be a kconfig bug due to MODULES not always being
evaluated if no .config is found. Take the following Kconfig as an
example:

config MODULES
	def_bool y

config FOO
	def_tristate m

With no .config, the following configuration is generated:

CONFIG_MODULES=y
CONFIG_FOO=y

With an empty .config, the following:

CONFIG_MODULES=y
CONFIG_FOO=m

Tristate choice statements can also exhibit the problem, due to having an
implicit rev_dep (select) containing "m".

The problem is that MODULES is never evaluted in conf_read_simple() unless
there's a .config. The following patch fixes this.

Signed-off-by: Ulf Magnusson <ulfalizer.lkml@gmail.com>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-07-29 16:56:02 +02:00
..
basic kbuild: move autoconf.h to include/generated 2009-12-12 13:08:15 +01:00
dtc
genksyms genksyms: close ref_file after use 2010-02-02 14:33:55 +01:00
kconfig kconfig: fix MODULES-related bug in case of no .config 2010-07-29 16:56:02 +02:00
ksymoops
mod modpost: don't allow *driver to reference .init.* 2010-01-30 21:14:23 +01:00
package kbuild: deb-pkg md5sums 2010-03-07 13:33:00 +01:00
rt-tester scripts: change scripts to use system python instead of env 2010-02-02 14:33:56 +01:00
selinux
tracing
.gitignore
bin2c.c
binoffset.c
bloat-o-meter
bootgraph.pl
checkincludes.pl checkincludes: fix perlcritic warnings 2010-03-07 21:19:57 +01:00
checkkconfigsymbols.sh
checkpatch.pl remove my email address from checkpatch. 2010-01-12 20:56:52 -08:00
checkstack.pl scripts: improve checkstack 2010-03-07 21:19:09 +01:00
checksyscalls.sh
checkversion.pl checkversion: perl cleanup 2010-03-07 21:22:56 +01:00
cleanfile
cleanpatch
config
conmakehash.c
decodecode scripts: add ARM support to decodecode 2010-02-02 14:33:54 +01:00
diffconfig
export_report.pl export_report: fix perl warnings 2010-03-07 21:41:04 +01:00
extract-ikconfig
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh kbuild: Include gen_initramfs_list.sh and the file list in the .d file 2010-03-23 13:07:59 +01:00
get_maintainer.pl scripts/get_maintainer.pl: fix file exclusion X: logic 2010-01-11 09:34:05 -08:00
gfp-translate
headerdep.pl headerdep: perlcritic warning 2010-03-23 12:26:38 +01:00
headers_check.pl headers_check: fix perl warnings 2010-03-07 21:43:07 +01:00
headers_install.pl headers_install: use local file handles 2010-03-07 21:43:49 +01:00
headers.sh kbuild: do not check for include/asm-$ARCH 2009-12-12 13:08:14 +01:00
kallsyms.c scripts/kallsyms: suppress build warning 2010-02-02 14:33:56 +01:00
Kbuild.include kbuild: generate modules.builtin 2009-12-12 13:08:16 +01:00
kernel-doc tracing: Add DEFINE_EVENT(), DEFINE_SINGLE_EVENT() support to docbook 2009-12-02 09:57:37 +01:00
Lindent
Makefile
Makefile.build kbuild: Fix linking error built-in.o no such file or directory 2010-02-02 14:33:54 +01:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst
Makefile.host
Makefile.lib scripts/Makefile.lib: Align the output of LZO 2010-03-11 11:01:15 +01:00
Makefile.modbuiltin kbuild: generate modules.builtin 2009-12-12 13:08:16 +01:00
Makefile.modinst
Makefile.modpost
makelst
markup_oops.pl markup_oops.pl: minor fixes 2010-02-05 22:33:43 +01:00
mkcompile_h scripts/mkcompile_h: don't test for hardcoded paths 2010-02-02 14:33:56 +01:00
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl namespace: perlcritic warnings 2010-03-07 21:38:32 +01:00
patch-kernel
pnmtologo.c
profile2linkerlist.pl profile2linkerlist: fix perl warnings 2010-03-07 21:39:33 +01:00
recordmcount.pl tracing/x86: Derive arch from bits argument in recordmcount.pl 2010-01-11 23:49:35 -05:00
setlocalversion
show_delta scripts: change scripts to use system python instead of env 2010-02-02 14:33:56 +01:00
tags.sh Revert "kbuild: specify absolute paths for cscope" 2010-03-08 10:26:22 +01:00
unifdef.c unifdef: update to upstream revision 1.190 2009-12-12 13:08:16 +01:00
ver_linux