Skip to content

Commit 3ffde85

Browse files
keith-packardstephanosio
authored andcommitted
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 28209a9 commit 3ffde85

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)