Skip to content

Commit 03ee6bf

Browse files
committed
lib/libc: Add FULL_LIBC_SUPPORTED helper Kconfig symbol
This symbol detects whether there is any available full libc for a particular target, allowing tests to filter on this condition. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent ac3e839 commit 03ee6bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/libc/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ config FULL_LIBC
1010
Select a C library implementation that provides a complete C library
1111
implementation, rather than the subset provided by MINIMAL_LIBC.
1212

13+
config FULL_LIBC_SUPPORTED
14+
def_bool y
15+
depends on NATIVE_APPLICATION || NEWLIB_LIBC_SUPPORTED
16+
help
17+
Selected when the target has support for some full C library that
18+
will be selected when FULL_LIBC is set
19+
1320
config MINIMAL_LIBC_SUPPORTED
1421
bool
1522
default y

0 commit comments

Comments
 (0)