Skip to content
Permalink
Browse files

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>
  • Loading branch information...
ulfalizer authored and galak committed May 13, 2019
1 parent 424224a commit 48edfc2203ad8d68594bf0dc6d72dab8970c78a0
Showing with 2 additions and 4 deletions.
  1. +2 −4 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

0 comments on commit 48edfc2

Please sign in to comment.
You can’t perform that action at this time.