kconfig: Move CPLUSPLUS from root to "Compiler Options"

Enabling C++ support for the application has been inappropriately
located at the root of the Kconfig menu. The root should be kept as
clean possible to allow easy navigation.

This commit moves CONFIG_CPLUSPLUS into

~/"Build and Linker Features"/"Compiler Options".

This is a purely cosmetic change and does not change the
'visibility' (depends) of the Kconfig option.

Arguably, it would fit better into

~/"Build and Linker Features"/"Language Options"

but this entry does not exist.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-04-30 16:39:26 +02:00 committed by Anas Nashif
parent f8c1cc175a
commit f9b2da37b0
3 changed files with 6 additions and 9 deletions

View file

@ -184,6 +184,12 @@ config TOOLCHAIN_VARIANT
For optimized compilers with reduced features, specify the name
of the variant.
config CPLUSPLUS
bool "Enable C++ support for the application"
default n
help
This option enables the use of applications built with C++.
endmenu
menu "Build Options"

View file

@ -9,8 +9,6 @@ source "subsys/bluetooth/Kconfig"
source "subsys/console/Kconfig"
source "subsys/cpp/Kconfig"
source "subsys/debug/Kconfig"
source "subsys/disk/Kconfig"

View file

@ -1,7 +0,0 @@
config CPLUSPLUS
bool "Enable C++ support for the application"
default n
help
This option enables the use of applications built with C++.