From a9f6941436e83d2f91caf06c13bee86cad309064 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 8 Jan 2015 14:33:53 +0000 Subject: scripts/config: sync with linux upstream Signed-off-by: Felix Fietkau SVN-Revision: 43873 --- scripts/config/zconf.tab.c_shipped | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'scripts/config/zconf.tab.c_shipped') diff --git a/scripts/config/zconf.tab.c_shipped b/scripts/config/zconf.tab.c_shipped index 90441d9729..9989df6773 100644 --- a/scripts/config/zconf.tab.c_shipped +++ b/scripts/config/zconf.tab.c_shipped @@ -2311,9 +2311,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, "Linux Kernel Configuration", NULL); #if YYDEBUG @@ -2323,12 +2320,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); @@ -2337,7 +2330,7 @@ void conf_parse(const char *name) for_all_symbols(i, sym) { if (sym_check_deps(sym)) zconfnerrs++; - } + } if (zconfnerrs) exit(1); sym_set_change_count(1); -- cgit v1.2.3