diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-09 21:17:26 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-19 18:19:53 -0400 |
commit | f6ce00b8cca0517f7296cd76059e1fb37d01c871 (patch) | |
tree | 285187a6391ab69d0911d02a8389b103f1f8b43c /scripts/kconfig | |
parent | 76a540958af5390a94b7f68c46cb7f2aed34ccf1 (diff) |
kconfig: expand by default the rootmenu's prompt
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/zconf.y | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index e9b14efd7414..2abd3c7ff15d 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -502,6 +502,10 @@ void conf_parse(const char *name) | |||
502 | prop = prop_alloc(P_DEFAULT, modules_sym); | 502 | prop = prop_alloc(P_DEFAULT, modules_sym); |
503 | prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); | 503 | prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); |
504 | } | 504 | } |
505 | |||
506 | rootmenu.prompt->text = _(rootmenu.prompt->text); | ||
507 | rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text); | ||
508 | |||
505 | menu_finalize(&rootmenu); | 509 | menu_finalize(&rootmenu); |
506 | for_all_symbols(i, sym) { | 510 | for_all_symbols(i, sym) { |
507 | if (sym_check_deps(sym)) | 511 | if (sym_check_deps(sym)) |