libC: PICOLIBC_SUPPORTED: Enable for NATIVE_LIBRARY

It is possible to build with the PICOLIBC_MODULE
with the POSIX arch targets which use the native
simulator as runner.
Update filtering accordingly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-06-09 14:28:46 +02:00 committed by Chris Friedt
parent 4598d2b372
commit 7e37482a77

View File

@ -35,7 +35,7 @@ config NEWLIB_LIBC_SUPPORTED
config PICOLIBC_SUPPORTED
bool
depends on !NATIVE_APPLICATION
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
depends on ("$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr") || (NATIVE_LIBRARY)
depends on !(CPP && "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr")
# picolibc text is outside .pinned.text on this board. #54148
default y