diff mbox series

[v5,07/31] kconfig: make default prompt of mainmenu less specific

Message ID 1527499328-13213-8-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 137c0118a900bc4a3d1673573e22a03fbae3e8fd
Headers show
Series kconfig: move compiler capability tests to Kconfig | expand

Commit Message

Masahiro Yamada May 28, 2018, 9:21 a.m. UTC
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>

---

Changes in v5:
  - Newly added

Changes in v4: None
Changes in v3: None
Changes in v2: None

 scripts/kconfig/tests/no_write_if_dep_unmet/expected_config | 2 +-
 scripts/kconfig/zconf.y                                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config b/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
index 0d15e41..4732288 100644
--- a/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
+++ b/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
@@ -1,5 +1,5 @@ 
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux Kernel Configuration
+# Main menu
 #
 # CONFIG_A is not set
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index 22e318c..8a82aaf 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/zconf.y
@@ -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);