kconfig: make default prompt of mainmenu less specific
If "mainmenu" is not specified, "Linux Kernel Configuration" is used as a default prompt. Given that Kconfig is used in other projects than Linux, let's use a more generic prompt, "Main menu". Suggested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Родитель
5b31a97467
Коммит
137c0118a9
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux Kernel Configuration
|
# Main menu
|
||||||
#
|
#
|
||||||
# CONFIG_A is not set
|
# CONFIG_A is not set
|
||||||
|
|
|
@ -532,7 +532,7 @@ void conf_parse(const char *name)
|
||||||
|
|
||||||
if (!menu_has_prompt(&rootmenu)) {
|
if (!menu_has_prompt(&rootmenu)) {
|
||||||
current_entry = &rootmenu;
|
current_entry = &rootmenu;
|
||||||
menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
|
menu_add_prompt(P_MENU, "Main menu", NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_finalize(&rootmenu);
|
menu_finalize(&rootmenu);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче