Skip to content

Commit 38d4d1f

Browse files
committed
lib/libc: Add SUPPORT_FULL_LIBC 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 a84e4e6 commit 38d4d1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/libc/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ config REQUIRES_FULL_LIBC
1111
Helper symbol to indicate some feature requires a C library implementation
1212
with more functionality than what MINIMAL_LIBC provides
1313

14+
config SUPPORT_FULL_LIBC
15+
bool
16+
depends on NATIVE_APPLICATION || TOOLCHAIN_HAS_NEWLIB
17+
help
18+
Helper symbol to indicate that there is at least one full C library
19+
implementation available on the platform. Used to filter tests which
20+
require this.
21+
1422
config SUPPORT_MINIMAL_LIBC
1523
bool
1624
default y

0 commit comments

Comments
 (0)