Skip to content

Commit ac3e839

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 6f2dbe9 commit ac3e839

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
@@ -77,6 +77,7 @@ config PICOLIBC
7777
config NEWLIB_LIBC
7878
bool "Newlib C library"
7979
depends on !NATIVE_APPLICATION
80+
depends on NEWLIB_LIBC_SUPPORTED
8081
help
8182
Build with newlib library. The newlib library is expected to be
8283
part of the SDK in this case.

0 commit comments

Comments
 (0)