summaryrefslogtreecommitdiff
path: root/misc/tools/kconfig-frontends/libs/parser/yconf.y
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tools/kconfig-frontends/libs/parser/yconf.y')
-rw-r--r--misc/tools/kconfig-frontends/libs/parser/yconf.y11
1 files changed, 2 insertions, 9 deletions
diff --git a/misc/tools/kconfig-frontends/libs/parser/yconf.y b/misc/tools/kconfig-frontends/libs/parser/yconf.y
index 093ec1ac2..bc1cae080 100644
--- a/misc/tools/kconfig-frontends/libs/parser/yconf.y
+++ b/misc/tools/kconfig-frontends/libs/parser/yconf.y
@@ -493,9 +493,6 @@ void conf_parse(const char *name)
sym_init();
_menu_init();
- modules_sym = sym_lookup(NULL, 0);
- modules_sym->type = S_BOOLEAN;
- modules_sym->flags |= SYMBOL_AUTO;
rootmenu.prompt = menu_add_prompt(P_MENU, ROOTMENU, NULL);
if (getenv("ZCONF_DEBUG"))
@@ -503,12 +500,8 @@ void conf_parse(const char *name)
zconfparse();
if (zconfnerrs)
exit(1);
- if (!modules_sym->prop) {
- struct property *prop;
-
- prop = prop_alloc(P_DEFAULT, modules_sym);
- prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0));
- }
+ if (!modules_sym)
+ modules_sym = sym_find( "n" );
rootmenu.prompt->text = _(rootmenu.prompt->text);
rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);