diff mbox

[2.6.35-rc6] kconfig: fix MODULES-related bug in case of no .config

Message ID 20100727192727.GA17954@ulf (mailing list archive)
State New, archived
Headers show

Commit Message

Ulf Magnusson July 27, 2010, 7:27 p.m. UTC
None
diff mbox

Patch

diff -uNr linux.vanilla/scripts/kconfig/confdata.c linux.new/scripts/kconfig/confdata.c
--- linux.vanilla/scripts/kconfig/confdata.c	2010-07-27 16:47:43.443006287 +0200
+++ linux.new/scripts/kconfig/confdata.c	2010-07-27 16:50:19.795005537 +0200
@@ -170,8 +170,10 @@ 
 		if (in)
 			goto load;
 		sym_add_change_count(1);
-		if (!sym_defconfig_list)
+		if (!sym_defconfig_list) {
+			sym_calc_value(modules_sym);
 			return 1;
+		}
 
 		for_all_defaults(sym_defconfig_list, prop) {
 			if (expr_calc_value(prop->visible.expr) == no ||