lib: cpp: Introduce FULL_LIBCPP_SUPPORTED similar to C version
Introduce Kconfig symbol FULL_LIBCPP_SUPPORTED that is similar to the C version FULL_LIBC_SUPPORTED. This way we can utilize the same pattern in tests and samples to filter for when a full libc++ is needed. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
parent
ea705116ed
commit
e268f8eb4f
|
@ -317,6 +317,7 @@ config CODING_GUIDELINE_CHECK
|
|||
config NATIVE_APPLICATION
|
||||
bool "Build as a native host application"
|
||||
select FULL_LIBC_SUPPORTED
|
||||
select FULL_LIBCPP_SUPPORTED if CPP
|
||||
help
|
||||
Build as a native application that can run on the host and using
|
||||
resources and libraries provided by the host.
|
||||
|
|
|
@ -64,6 +64,13 @@ config REQUIRES_FULL_LIBCPP
|
|||
a subsystem or an application. This will also include a full C
|
||||
library implementation.
|
||||
|
||||
config FULL_LIBCPP_SUPPORTED
|
||||
bool
|
||||
help
|
||||
Selected when the target has at least one C++ library that offers a
|
||||
complete implementation and which would be selected when
|
||||
REQUIRES_FULL_LIBCPP is set.
|
||||
|
||||
choice LIBCPP_IMPLEMENTATION
|
||||
prompt "C++ Standard Library Implementation"
|
||||
default EXTERNAL_LIBCPP if REQUIRES_FULL_LIBCPP && NATIVE_APPLICATION
|
||||
|
@ -84,6 +91,7 @@ config GLIBCXX_LIBCPP
|
|||
bool "GNU C++ Standard Library"
|
||||
depends on !NATIVE_APPLICATION
|
||||
depends on NEWLIB_LIBC || PICOLIBC
|
||||
select FULL_LIBCPP_SUPPORTED
|
||||
help
|
||||
Build with GNU C++ Standard Library (libstdc++) provided by the GNU
|
||||
Compiler Collection (GCC)-based toolchain.
|
||||
|
|
Loading…
Reference in a new issue