From 3ffde85895c6144ec6def134bfe67ac8946ed078 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 8 Feb 2023 13:52:40 -0800 Subject: [PATCH] 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 --- lib/libc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/Kconfig b/lib/libc/Kconfig index f57bdddbc68..83f6eab2e5a 100644 --- a/lib/libc/Kconfig +++ b/lib/libc/Kconfig @@ -72,6 +72,7 @@ config PICOLIBC config NEWLIB_LIBC bool "Newlib C library" depends on !NATIVE_APPLICATION + depends on NEWLIB_LIBC_SUPPORTED help Build with newlib library. The newlib library is expected to be part of the SDK in this case.