menuconfig/xconfig/gconfig all fails to set tristate CONFIG_ options to m even if CONFIG_MODULES=y has been set. The "config" target works, though. Signed-off-by: Jiafu He <jay@xxxxxxxxxxxx> ----- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index b55e72f..9ff712b 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -170,8 +170,11 @@ int conf_read_simple(const char *name, int def) if (in) goto load; sym_add_change_count(1); - if (!sym_defconfig_list) + if (!sym_defconfig_list) { + if (modules_sym) + sym_calc_value(modules_sym); return 1; + } for_all_defaults(sym_defconfig_list, prop) { if (expr_calc_value(prop->visible.expr) == no || ----- -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html