diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-10 03:17:26 +0200 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-20 00:19:53 +0200 |
commit | f6ce00b8cca0517f7296cd76059e1fb37d01c871 (patch) | |
tree | 285187a6391ab69d0911d02a8389b103f1f8b43c /scripts/kconfig | |
parent | kconfig: add a symbol string expansion helper (diff) | |
download | linux-f6ce00b8cca0517f7296cd76059e1fb37d01c871.tar.xz linux-f6ce00b8cca0517f7296cd76059e1fb37d01c871.zip |
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) prop = prop_alloc(P_DEFAULT, modules_sym); prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); } + + rootmenu.prompt->text = _(rootmenu.prompt->text); + rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text); + menu_finalize(&rootmenu); for_all_symbols(i, sym) { if (sym_check_deps(sym)) |