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>
This commit is contained in:
Ulf Magnusson 2019-05-13 23:23:31 +02:00 committed by Kumar Gala
parent 424224afb7
commit 48edfc2203

View file

@ -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