From 7e37482a77a63f79bbe1feb4c54d9f5249edb46b Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 9 Jun 2023 14:28:46 +0200 Subject: [PATCH] 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 --- lib/libc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/Kconfig b/lib/libc/Kconfig index 7b91feec040..13e590b23b5 100644 --- a/lib/libc/Kconfig +++ b/lib/libc/Kconfig @@ -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