console: kconfig: Put 'menuconfig CONSOLE_SUBSYS' in top-level menu
The 'Console' menu contains just 'config CONSOLE_SUBSYS' and its
indented children.
Remove one menu level by removing the 'Console' menu and turning
CONSOLE_SUBSYS into a 'menuconfig' symbol.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
diff --git a/subsys/console/Kconfig b/subsys/console/Kconfig
index 04d1e9c..847ffe7 100644
--- a/subsys/console/Kconfig
+++ b/subsys/console/Kconfig
@@ -4,14 +4,13 @@
# SPDX-License-Identifier: Apache-2.0
#
-menu "Console"
-
-config CONSOLE_SUBSYS
+menuconfig CONSOLE_SUBSYS
bool "Console subsystem/support routines [EXPERIMENTAL]"
help
Console subsystem and helper functions
if CONSOLE_SUBSYS
+
choice
prompt "Console 'get' function selection"
optional
@@ -50,4 +49,3 @@
endif # CONSOLE_GETCHAR
endif # CONSOLE_SUBSYS
-endmenu