Skip to content

Commit

Permalink
kconfig: Move CPLUSPLUS from root to "Compiler Options"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
SebastianBoe authored and Anas Nashif committed Apr 30, 2018
1 parent f8c1cc1 commit f9b2da3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions subsys/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ source "subsys/bluetooth/Kconfig"

source "subsys/console/Kconfig"

source "subsys/cpp/Kconfig"

source "subsys/debug/Kconfig"

source "subsys/disk/Kconfig"
Expand Down
7 changes: 0 additions & 7 deletions subsys/cpp/Kconfig

This file was deleted.

0 comments on commit f9b2da3

Please sign in to comment.