From 48edfc2203ad8d68594bf0dc6d72dab8970c78a0 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 13 May 2019 23:23:31 +0200 Subject: [PATCH] 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 --- subsys/console/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subsys/console/Kconfig b/subsys/console/Kconfig index 04d1e9c286..847ffe753f 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 @@ config CONSOLE_PUTCHAR_BUFSIZE endif # CONSOLE_GETCHAR endif # CONSOLE_SUBSYS -endmenu