Kconfig.zephyr: Add NATIVE_LIBC and NATIVE_LIBCPP
These are set when building against the host C or C++ libraries. This allows filtering tests that require use of a C library that sits atop Zephyr OS APIs. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
1e40199c8d
commit
be4b76fea2
1 changed files with 14 additions and 2 deletions
|
@ -316,10 +316,22 @@ config CODING_GUIDELINE_CHECK
|
||||||
Use available compiler flags to check coding guideline rules during
|
Use available compiler flags to check coding guideline rules during
|
||||||
the build.
|
the build.
|
||||||
|
|
||||||
config NATIVE_BUILD
|
config NATIVE_LIBC
|
||||||
bool
|
bool
|
||||||
select FULL_LIBC_SUPPORTED
|
select FULL_LIBC_SUPPORTED
|
||||||
select FULL_LIBCPP_SUPPORTED if CPP
|
help
|
||||||
|
Zephyr will use the host system C library.
|
||||||
|
|
||||||
|
config NATIVE_LIBCPP
|
||||||
|
bool
|
||||||
|
select FULL_LIBCPP_SUPPORTED
|
||||||
|
help
|
||||||
|
Zephyr will use the host system C++ library
|
||||||
|
|
||||||
|
config NATIVE_BUILD
|
||||||
|
bool
|
||||||
|
select NATIVE_LIBC if EXTERNAL_LIBC
|
||||||
|
select NATIVE_LIBCPP if EXTERNAL_LIBCPP
|
||||||
help
|
help
|
||||||
Zephyr will be built targeting the host system for debug and
|
Zephyr will be built targeting the host system for debug and
|
||||||
development purposes.
|
development purposes.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue