From cde789b1188817703e1bc0b3ec5801bcd5cb75e0 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 16 Aug 2022 11:35:13 -0700 Subject: [PATCH 1/3] Update crosstool-ng to include companion lib stripping patch Signed-off-by: Keith Packard --- crosstool-ng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crosstool-ng b/crosstool-ng index b6b22fd4..1a542947 160000 --- a/crosstool-ng +++ b/crosstool-ng @@ -1 +1 @@ -Subproject commit b6b22fd4032b2ce3738087987024eae33ee7fc09 +Subproject commit 1a542947f6f155963e0a7e77cc7d4c85b9a3a786 From e1850f85414ac1b3390076cda778c46ac01db4fb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 16 Aug 2022 22:24:36 -0700 Subject: [PATCH 2/3] Add picolibc submodule Signed-off-by: Keith Packard --- .gitmodules | 3 +++ picolibc | 1 + 2 files changed, 4 insertions(+) create mode 160000 picolibc diff --git a/.gitmodules b/.gitmodules index 0feddbdf..50b94643 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,6 @@ [submodule "gdb"] path = gdb url = https://github.com/zephyrproject-rtos/binutils-gdb.git +[submodule "picolibc"] + path = picolibc + url = https://github.com/zephyrproject-rtos/picolibc.git diff --git a/picolibc b/picolibc new file mode 160000 index 00000000..2deb0447 --- /dev/null +++ b/picolibc @@ -0,0 +1 @@ +Subproject commit 2deb044719eec0e79b5d1bf40e5c4cde0a94a2e8 From 3b08caeea6094b3c9fb382f83ffe7729c58a22ba Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 19 Oct 2021 11:05:50 -0700 Subject: [PATCH 3/3] Build picolibc for all SDK architectures This builds both picolibc and libstdc++ with picolibc support using the crosstool-ng support for those configurations. Signed-off-by: Keith Packard --- configs/aarch64-zephyr-elf.config | 7 +++++++ configs/arc-zephyr-elf.config | 6 ++++++ configs/arc64-zephyr-elf.config | 6 ++++++ configs/arm-zephyr-eabi.config | 7 +++++++ configs/mips-zephyr-elf.config | 6 ++++++ configs/nios2-zephyr-elf.config | 7 +++++++ configs/riscv64-zephyr-elf.config | 7 +++++++ configs/sparc-zephyr-elf.config | 6 ++++++ configs/x86_64-zephyr-elf.config | 6 ++++++ configs/xtensa-espressif_esp32_zephyr-elf.config | 7 +++++++ configs/xtensa-espressif_esp32s2_zephyr-elf.config | 7 +++++++ configs/xtensa-intel_apl_adsp_zephyr-elf.config | 7 +++++++ configs/xtensa-intel_bdw_adsp_zephyr-elf.config | 7 +++++++ configs/xtensa-intel_byt_adsp_zephyr-elf.config | 7 +++++++ configs/xtensa-intel_s1000_zephyr-elf.config | 7 +++++++ configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config | 7 +++++++ configs/xtensa-nxp_imx_adsp_zephyr-elf.config | 7 +++++++ configs/xtensa-sample_controller_zephyr-elf.config | 7 +++++++ 18 files changed, 121 insertions(+) diff --git a/configs/aarch64-zephyr-elf.config b/configs/aarch64-zephyr-elf.config index 495960ac..faa8c105 100644 --- a/configs/aarch64-zephyr-elf.config +++ b/configs/aarch64-zephyr-elf.config @@ -60,3 +60,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/arc-zephyr-elf.config b/configs/arc-zephyr-elf.config index 01a21cab..7bd20593 100644 --- a/configs/arc-zephyr-elf.config +++ b/configs/arc-zephyr-elf.config @@ -59,3 +59,9 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/arc64-zephyr-elf.config b/configs/arc64-zephyr-elf.config index 350cccf2..f1aa4576 100644 --- a/configs/arc64-zephyr-elf.config +++ b/configs/arc64-zephyr-elf.config @@ -61,3 +61,9 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/arm-zephyr-eabi.config b/configs/arm-zephyr-eabi.config index 1652457e..7573639d 100644 --- a/configs/arm-zephyr-eabi.config +++ b/configs/arm-zephyr-eabi.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/mips-zephyr-elf.config b/configs/mips-zephyr-elf.config index 9642bca8..0b952ef9 100644 --- a/configs/mips-zephyr-elf.config +++ b/configs/mips-zephyr-elf.config @@ -59,3 +59,9 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/nios2-zephyr-elf.config b/configs/nios2-zephyr-elf.config index a76f4510..bb85a504 100644 --- a/configs/nios2-zephyr-elf.config +++ b/configs/nios2-zephyr-elf.config @@ -59,3 +59,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/riscv64-zephyr-elf.config b/configs/riscv64-zephyr-elf.config index f9e853b1..b4b48a6c 100644 --- a/configs/riscv64-zephyr-elf.config +++ b/configs/riscv64-zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/sparc-zephyr-elf.config b/configs/sparc-zephyr-elf.config index 1554b1cb..a1f97c1e 100644 --- a/configs/sparc-zephyr-elf.config +++ b/configs/sparc-zephyr-elf.config @@ -58,3 +58,9 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/x86_64-zephyr-elf.config b/configs/x86_64-zephyr-elf.config index 8dd1d527..18087c8f 100644 --- a/configs/x86_64-zephyr-elf.config +++ b/configs/x86_64-zephyr-elf.config @@ -61,3 +61,9 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-espressif_esp32_zephyr-elf.config b/configs/xtensa-espressif_esp32_zephyr-elf.config index 5f3ea498..14ca4fcd 100644 --- a/configs/xtensa-espressif_esp32_zephyr-elf.config +++ b/configs/xtensa-espressif_esp32_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-espressif_esp32s2_zephyr-elf.config b/configs/xtensa-espressif_esp32s2_zephyr-elf.config index 97e82562..35681208 100644 --- a/configs/xtensa-espressif_esp32s2_zephyr-elf.config +++ b/configs/xtensa-espressif_esp32s2_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-intel_apl_adsp_zephyr-elf.config b/configs/xtensa-intel_apl_adsp_zephyr-elf.config index 92ead2a9..5d8089ee 100644 --- a/configs/xtensa-intel_apl_adsp_zephyr-elf.config +++ b/configs/xtensa-intel_apl_adsp_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-intel_bdw_adsp_zephyr-elf.config b/configs/xtensa-intel_bdw_adsp_zephyr-elf.config index 540eb333..63071fd9 100644 --- a/configs/xtensa-intel_bdw_adsp_zephyr-elf.config +++ b/configs/xtensa-intel_bdw_adsp_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-intel_byt_adsp_zephyr-elf.config b/configs/xtensa-intel_byt_adsp_zephyr-elf.config index 7cc9d25a..143ee11f 100644 --- a/configs/xtensa-intel_byt_adsp_zephyr-elf.config +++ b/configs/xtensa-intel_byt_adsp_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-intel_s1000_zephyr-elf.config b/configs/xtensa-intel_s1000_zephyr-elf.config index 9ca87acb..aa5d7cab 100644 --- a/configs/xtensa-intel_s1000_zephyr-elf.config +++ b/configs/xtensa-intel_s1000_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config b/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config index ef350e7b..95f5ce95 100644 --- a/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config +++ b/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-nxp_imx_adsp_zephyr-elf.config b/configs/xtensa-nxp_imx_adsp_zephyr-elf.config index 423f4619..68274cba 100644 --- a/configs/xtensa-nxp_imx_adsp_zephyr-elf.config +++ b/configs/xtensa-nxp_imx_adsp_zephyr-elf.config @@ -61,3 +61,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec" diff --git a/configs/xtensa-sample_controller_zephyr-elf.config b/configs/xtensa-sample_controller_zephyr-elf.config index e38b1933..a83bd055 100644 --- a/configs/xtensa-sample_controller_zephyr-elf.config +++ b/configs/xtensa-sample_controller_zephyr-elf.config @@ -60,3 +60,10 @@ CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y # CT_LIBC_NEWLIB_NANO_LTO is not set CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y +CT_COMP_LIBS_PICOLIBC=y +CT_PICOLIBC_SRC_CUSTOM=y +CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" +CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y +CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-ftls-model=local-exec"