From: Yann E. MORIN" Date: Sat, 3 Mar 2012 22:42:09 +0000 (+0100) Subject: libs/parser: effectively allow setting the package name X-Git-Tag: v3.3.0-0~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8cb60cdd1dc91e235522527366bc98b748844bd1;p=kconfig-frontends libs/parser: effectively allow setting the package name Signed-off-by: "Yann E. MORIN" --- diff --git a/libs/parser/yconf.y b/libs/parser/yconf.y index a09276e..932be3d 100644 --- a/libs/parser/yconf.y +++ b/libs/parser/yconf.y @@ -496,7 +496,7 @@ void conf_parse(const char *name) 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); + rootmenu.prompt = menu_add_prompt(P_MENU, PACKAGE "Configuration", NULL); if (getenv("ZCONF_DEBUG")) zconfdebug = 1; diff --git a/libs/parser/yconf.y.patch b/libs/parser/yconf.y.patch index 86322f5..12ea49d 100644 --- a/libs/parser/yconf.y.patch +++ b/libs/parser/yconf.y.patch @@ -9,6 +9,15 @@ %} %% +@@ -496,7 +496,7 @@ + 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); ++ rootmenu.prompt = menu_add_prompt(P_MENU, PACKAGE "Configuration", NULL); + + if (getenv("ZCONF_DEBUG")) + zconfdebug = 1; @@ -732,7 +732,7 @@ } }