From f9b2da37b041fe2fbbdc9cd1924fe2b29bc25fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Mon, 30 Apr 2018 16:39:26 +0200 Subject: [PATCH] kconfig: Move CPLUSPLUS from root to "Compiler Options" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- misc/Kconfig | 6 ++++++ subsys/Kconfig | 2 -- subsys/cpp/Kconfig | 7 ------- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 subsys/cpp/Kconfig diff --git a/misc/Kconfig b/misc/Kconfig index 0caf8907379..07bffbb129e 100644 --- a/misc/Kconfig +++ b/misc/Kconfig @@ -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" diff --git a/subsys/Kconfig b/subsys/Kconfig index 9b6f01c0451..ed360041931 100644 --- a/subsys/Kconfig +++ b/subsys/Kconfig @@ -9,8 +9,6 @@ source "subsys/bluetooth/Kconfig" source "subsys/console/Kconfig" -source "subsys/cpp/Kconfig" - source "subsys/debug/Kconfig" source "subsys/disk/Kconfig" diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig deleted file mode 100644 index 92ccb905a8e..00000000000 --- a/subsys/cpp/Kconfig +++ /dev/null @@ -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++. -