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++. -