Skip to content

Commit 189cd6a

Browse files
committed
lib/libc: newlib use depends upon newlib being supported
Before allowing newlib to be selected as the C library, ensure that it is available for the target. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent 2033d33 commit 189cd6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/libc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ config PICOLIBC
7272
config NEWLIB_LIBC
7373
bool "Newlib C library"
7474
depends on !NATIVE_APPLICATION
75+
depends on NEWLIB_LIBC_SUPPORTED
7576
help
7677
Build with newlib library. The newlib library is expected to be
7778
part of the SDK in this case.

0 commit comments

Comments
 (0)