libc/picolibc: Support Picolibc for toolchains without bundled Picolibc

Allow Picolibc to get build from module, if the toolchain does not
include a bundled picolibc.
This should always be possible, except for native applications and
if libcpp is required.

Signed-off-by: David Schneider <david.schneider@chargepoint.com>
This commit is contained in:
David Schneider 2024-05-07 15:14:31 +02:00 committed by Carles Cufí
parent f539b661d6
commit 012c9a2847

View File

@ -43,7 +43,6 @@ config NEWLIB_LIBC_SUPPORTED
config PICOLIBC_SUPPORTED
bool
depends on !NATIVE_APPLICATION
depends on ("$(TOOLCHAIN_HAS_PICOLIBC)" = "y") || (NATIVE_LIBRARY)
depends on !REQUIRES_FULL_LIBCPP || ("$(TOOLCHAIN_HAS_PICOLIBC)" = "y")
default y
select FULL_LIBC_SUPPORTED