Skip to content

Commit

Permalink
kconfig: make default prompt of mainmenu less specific
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada committed May 28, 2018
1 parent 5b31a97 commit 137c011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux Kernel Configuration
# Main menu
#
# CONFIG_A is not set
2 changes: 1 addition & 1 deletion scripts/kconfig/zconf.y
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ void conf_parse(const char *name)

if (!menu_has_prompt(&rootmenu)) {
current_entry = &rootmenu;
menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
menu_add_prompt(P_MENU, "Main menu", NULL);
}

menu_finalize(&rootmenu);
Expand Down

0 comments on commit 137c011

Please sign in to comment.