diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cca6ef7..e4a305a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -214,7 +214,7 @@ jobs: if [ "${build_host_linux_x86_64}" == "y" ]; then MATRIX_HOSTS+='{ "name": "linux-x86_64", - "runner": "zephyr-runner-linux-x64-4xlarge", + "runner": "test-runner-linux-x64-4xlarge", "container": "ghcr.io/zephyrproject-rtos/sdk-build:v1.2.3", "archive": "tar.xz" },' @@ -223,7 +223,7 @@ jobs: if [ "${build_host_linux_aarch64}" == "y" ]; then MATRIX_HOSTS+='{ "name": "linux-aarch64", - "runner": "zephyr-runner-linux-arm64-4xlarge", + "runner": "test-runner-linux-arm64-4xlarge", "container": "ghcr.io/zephyrproject-rtos/sdk-build:v1.2.3", "archive": "tar.xz" },' @@ -250,7 +250,7 @@ jobs: if [ "${build_host_windows_x86_64}" == "y" ]; then MATRIX_HOSTS+='{ "name": "windows-x86_64", - "runner": "zephyr-runner-linux-x64-4xlarge", + "runner": "test-runner-linux-x64-4xlarge", "container": "ghcr.io/zephyrproject-rtos/sdk-build:v1.2.3", "archive": "7z" },' @@ -286,7 +286,7 @@ jobs: if [ "${build_host_linux_x86_64}" == "y" ]; then MATRIX_TESTENVS+='{ "name": "ubuntu-20.04-x86_64", - "runner": "zephyr-runner-linux-x64-xlarge", + "runner": "test-runner-linux-x64-xlarge", "container": "ghcr.io/zephyrproject-rtos/ci:master", "bundle-host": "linux-x86_64", "bundle-archive": "tar.xz" @@ -296,7 +296,7 @@ jobs: if [ "${build_host_linux_aarch64}" == "y" ]; then MATRIX_TESTENVS+='{ "name": "ubuntu-20.04-aarch64", - "runner": "zephyr-runner-linux-arm64-xlarge", + "runner": "test-runner-linux-arm64-xlarge", "container": "ghcr.io/zephyrproject-rtos/ci:master", "bundle-host": "linux-aarch64", "bundle-archive": "tar.xz" @@ -624,8 +624,9 @@ jobs: pushd ${WORKSPACE}/build # Load default target configurations - cp ${GITHUB_WORKSPACE}/configs/${{ matrix.target }}.config \ - .config + cat ${GITHUB_WORKSPACE}/configs/common.config \ + ${GITHUB_WORKSPACE}/configs/${{ matrix.target }}.config \ + > .config # Set version information cat <> .config @@ -637,7 +638,6 @@ jobs: # Set environment configuration cat <> .config CT_LOCAL_TARBALLS_DIR="${WORKSPACE}/sources" - CT_LOCAL_PATCH_DIR="${GITHUB_WORKSPACE}/patches-arc64" CT_OVERLAY_LOCATION="${GITHUB_WORKSPACE}/overlays" EOF diff --git a/configs/aarch64-zephyr-elf.config b/configs/aarch64-zephyr-elf.config index 6217e7a..c459c2b 100644 --- a/configs/aarch64-zephyr-elf.config +++ b/configs/aarch64-zephyr-elf.config @@ -1,69 +1,8 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_ARM=y -CT_MULTILIB=y CT_ARCH_64=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-moverride=tune=no_ldp_stp_qregs -ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" +CT_MULTILIB=y CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-targets=arm-zephyr-eabi" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/arc-zephyr-elf.config b/configs/arc-zephyr-elf.config index 1f318aa..8fd001f 100644 --- a/configs/arc-zephyr-elf.config +++ b/configs/arc-zephyr-elf.config @@ -1,67 +1,6 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_ARC=y -CT_MULTILIB=y -CT_TARGET_CFLAGS="-mno-sdata -mtp-regno=26 -ftls-model=local-exec" CT_TARGET_VENDOR="zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_TARGET_CFLAGS="-mno-sdata -mtp-regno=26 -ftls-model=local-exec" +CT_MULTILIB=y diff --git a/configs/arc64-zephyr-elf.config b/configs/arc64-zephyr-elf.config index 3da102f..32a746d 100644 --- a/configs/arc64-zephyr-elf.config +++ b/configs/arc64-zephyr-elf.config @@ -1,70 +1,7 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -CT_PATCH_BUNDLED_LOCAL=y -CT_LOCAL_PATCH_DIR="${CT_TOP_DIR}/../../patches-arc64" -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_ARC=y -CT_MULTILIB=y CT_ARCH_64=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_MULTILIB=y diff --git a/configs/arm-zephyr-eabi.config b/configs/arm-zephyr-eabi.config index 18ed07e..cc8ccba 100644 --- a/configs/arm-zephyr-eabi.config +++ b/configs/arm-zephyr-eabi.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_ARM=y CT_ARCH_ARM_INTERWORKING=y -CT_MULTILIB=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_MULTILIB=y CT_CC_GCC_MULTILIB_LIST="rmprofile" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y CT_LIBC_NEWLIB_NANO_TARGET_CFLAGS="-mthumb-interwork" -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/common.config b/configs/common.config new file mode 100644 index 0000000..c7b65ec --- /dev/null +++ b/configs/common.config @@ -0,0 +1,72 @@ +# Common crosstool-ng configurations for all toolchain variants + +# Binutils +CT_BINUTILS_SRC_CUSTOM=y +CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" + +# GDB +CT_DEBUG_GDB=y +CT_GDB_SRC_CUSTOM=y +CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" + +# GCC +CT_GCC_SRC_CUSTOM=y +CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_CC_LANG_CXX=y + +# Newlib +CT_NEWLIB_SRC_CUSTOM=y +CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" +CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" +# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set +CT_LIBC_NEWLIB_IO_C99FMT=y +CT_LIBC_NEWLIB_IO_LL=y +CT_LIBC_NEWLIB_IO_FLOAT=y +# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set +CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y +CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y +CT_LIBC_NEWLIB_LITE_EXIT=y +CT_LIBC_NEWLIB_MULTITHREAD=y +CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y +# CT_LIBC_NEWLIB_WIDE_ORIENT is not set +# CT_LIBC_NEWLIB_NANO_MALLOC is not set +# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set +CT_LIBC_NEWLIB_EXTRA_SECTIONS=y + +# Newlib-nano +CT_COMP_LIBS_NEWLIB_NANO=y +CT_NEWLIB_NANO_SRC_CUSTOM=y +CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" +CT_NEWLIB_NANO_GCC_LIBSTDCXX=y +CT_NEWLIB_NANO_INSTALL_IN_TARGET=y +# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set +# CT_LIBC_NEWLIB_NANO_IO_LL is not set +CT_LIBC_NEWLIB_NANO_IO_FLOAT=y +# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set +# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set +CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y +# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set +# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set +CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y +# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set +CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y +CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y +CT_LIBC_NEWLIB_NANO_LITE_EXIT=y +CT_LIBC_NEWLIB_NANO_REENT_SMALL=y +CT_LIBC_NEWLIB_NANO_MULTITHREAD=y +CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y +CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y +# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set +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 + +# Picolibc +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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true -Dio-long-long=true -Dprintf-small-ultoa=true" diff --git a/configs/microblazeel-zephyr-elf.config b/configs/microblazeel-zephyr-elf.config index dee3281..ad84f6a 100644 --- a/configs/microblazeel-zephyr-elf.config +++ b/configs/microblazeel-zephyr-elf.config @@ -1,62 +1,7 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_MICROBLAZE=y CT_ARCH_LE=y -CT_MULTILIB=y CT_TARGET_CFLAGS="-G0 -fno-pic" CT_TARGET_VENDOR="zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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_MULTILIB=y diff --git a/configs/mips-zephyr-elf.config b/configs/mips-zephyr-elf.config index ffd78e8..558dab6 100644 --- a/configs/mips-zephyr-elf.config +++ b/configs/mips-zephyr-elf.config @@ -1,68 +1,7 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_MIPS=y -CT_MULTILIB=y CT_TARGET_CFLAGS="-G0 -mno-gpopt -ftls-model=local-exec" CT_TARGET_VENDOR="zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_MULTILIB=y CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/nios2-zephyr-elf.config b/configs/nios2-zephyr-elf.config index 8ec4695..c1fd3ad 100644 --- a/configs/nios2-zephyr-elf.config +++ b/configs/nios2-zephyr-elf.config @@ -1,69 +1,8 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_NIOS2=y -CT_MULTILIB=y CT_ARCH_USE_MMU=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_MULTILIB=y CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/riscv64-zephyr-elf.config b/configs/riscv64-zephyr-elf.config index d9eb227..23a106c 100644 --- a/configs/riscv64-zephyr-elf.config +++ b/configs/riscv64-zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_RISCV=y -CT_MULTILIB=y CT_ARCH_64=y CT_ARCH_ARCH="rv32ima_zicsr_zifencei" CT_ARCH_ABI="ilp32" CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_MULTILIB=y diff --git a/configs/sparc-zephyr-elf.config b/configs/sparc-zephyr-elf.config index 8760ed2..1fd535a 100644 --- a/configs/sparc-zephyr-elf.config +++ b/configs/sparc-zephyr-elf.config @@ -1,67 +1,6 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_SPARC=y -CT_MULTILIB=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_MULTILIB=y diff --git a/configs/x86_64-zephyr-elf.config b/configs/x86_64-zephyr-elf.config index 6780957..f3a90cf 100644 --- a/configs/x86_64-zephyr-elf.config +++ b/configs/x86_64-zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set CT_ARCH_X86=y -CT_MULTILIB=y CT_ARCH_64=y CT_TARGET_VENDOR="zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" +CT_MULTILIB=y CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-targets=x86_64-pep" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array --with-cpu-32=i586 --with-arch-32=i586 --with-cpu-64=generic --with-arch-64=x86-64" -# CT_CC_GCC_LIBMPX is not set -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -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 b4e3681..5c8cb96 100644 --- a/configs/xtensa-espressif_esp32_zephyr-elf.config +++ b/configs/xtensa-espressif_esp32_zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set -CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="espressif_esp32" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -CT_OVERLAY_NAME="espressif_esp32" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="espressif_esp32_zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-espressif_esp32s2_zephyr-elf.config b/configs/xtensa-espressif_esp32s2_zephyr-elf.config index 579719e..695ae6a 100644 --- a/configs/xtensa-espressif_esp32s2_zephyr-elf.config +++ b/configs/xtensa-espressif_esp32s2_zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set -CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="espressif_esp32s2" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -CT_OVERLAY_NAME="espressif_esp32s2" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="espressif_esp32s2_zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-espressif_esp32s3_zephyr-elf.config b/configs/xtensa-espressif_esp32s3_zephyr-elf.config index 51a6b55..f94245a 100644 --- a/configs/xtensa-espressif_esp32s3_zephyr-elf.config +++ b/configs/xtensa-espressif_esp32s3_zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set -CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="espressif_esp32s3" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -CT_OVERLAY_NAME="espressif_esp32s3" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="espressif_esp32s3_zephyr" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" +CT_TARGET_CFLAGS="-mlongcalls -ftls-model=local-exec" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-intel_apl_adsp_zephyr-elf.config b/configs/xtensa-intel_apl_adsp_zephyr-elf.config index 8a1620f..0be2f2b 100644 --- a/configs/xtensa-intel_apl_adsp_zephyr-elf.config +++ b/configs/xtensa-intel_apl_adsp_zephyr-elf.config @@ -1,71 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="intel_apl_adsp" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -# CT_ARCH_USE_MMU is not set -CT_OVERLAY_NAME="intel_apl_adsp" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="intel_apl_adsp_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-intel_s1000_zephyr-elf.config b/configs/xtensa-intel_s1000_zephyr-elf.config index add88e7..e351471 100644 --- a/configs/xtensa-intel_s1000_zephyr-elf.config +++ b/configs/xtensa-intel_s1000_zephyr-elf.config @@ -1,71 +1,10 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="intel_s1000" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -CT_OVERLAY_NAME="intel_s1000" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="intel_s1000_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" -CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-xtensa-use-target-regnum --disable-xtensa-remote-g-packet" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" +CT_CC_GCC_CONFIG_TLS=n diff --git a/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config b/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config index 0f61cb4..4b4a863 100644 --- a/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config +++ b/configs/xtensa-nxp_imx8m_adsp_zephyr-elf.config @@ -1,71 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="nxp_imx8m_adsp" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -# CT_ARCH_USE_MMU is not set -CT_OVERLAY_NAME="nxp_imx8m_adsp" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="nxp_imx8m_adsp_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-nxp_imx_adsp_zephyr-elf.config b/configs/xtensa-nxp_imx_adsp_zephyr-elf.config index f1413d7..5dfe638 100644 --- a/configs/xtensa-nxp_imx_adsp_zephyr-elf.config +++ b/configs/xtensa-nxp_imx_adsp_zephyr-elf.config @@ -1,71 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="nxp_imx_adsp" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -# CT_ARCH_USE_MMU is not set -CT_OVERLAY_NAME="nxp_imx_adsp" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="nxp_imx_adsp_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/configs/xtensa-sample_controller_zephyr-elf.config b/configs/xtensa-sample_controller_zephyr-elf.config index 65283cf..b3af0b2 100644 --- a/configs/xtensa-sample_controller_zephyr-elf.config +++ b/configs/xtensa-sample_controller_zephyr-elf.config @@ -1,70 +1,9 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y -# CT_PREFIX_DIR_RO is not set -# CT_LOG_PROGRESS_BAR is not set +CT_OVERLAY_LOCATION="overlays" +CT_OVERLAY_NAME="sample_controller" CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y -CT_OVERLAY_NAME="sample_controller" -CT_OVERLAY_LOCATION="./overlays" CT_TARGET_VENDOR="sample_controller_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" -CT_BINUTILS_SRC_CUSTOM=y -CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils" -CT_NEWLIB_SRC_CUSTOM=y -CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2" -# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set -CT_LIBC_NEWLIB_IO_C99FMT=y -CT_LIBC_NEWLIB_IO_LL=y -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -CT_LIBC_NEWLIB_MULTITHREAD=y -CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -# CT_LIBC_NEWLIB_NANO_MALLOC is not set -# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set -CT_LIBC_NEWLIB_EXTRA_SECTIONS=y -CT_GCC_SRC_CUSTOM=y -CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array" CT_CC_GCC_CONFIG_TLS=n -CT_CC_LANG_CXX=y -CT_DEBUG_GDB=y -CT_GDB_SRC_CUSTOM=y -CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb" -CT_COMP_LIBS_NEWLIB_NANO=y -CT_NEWLIB_NANO_SRC_CUSTOM=y -CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib" -CT_NEWLIB_NANO_GCC_LIBSTDCXX=y -CT_NEWLIB_NANO_INSTALL_IN_TARGET=y -# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set -# CT_LIBC_NEWLIB_NANO_IO_LL is not set -CT_LIBC_NEWLIB_NANO_IO_FLOAT=y -# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set -# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y -# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set -# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set -CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_NANO_LITE_EXIT=y -CT_LIBC_NEWLIB_NANO_REENT_SMALL=y -CT_LIBC_NEWLIB_NANO_MULTITHREAD=y -CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y -CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y -# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set -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="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true" diff --git a/picolibc b/picolibc index 98e59b7..2faa0bd 160000 --- a/picolibc +++ b/picolibc @@ -1 +1 @@ -Subproject commit 98e59b70d6ef8eb18f7dccc3d39cecaa0658fa4f +Subproject commit 2faa0bdb4aafa16df5b3d1e9174a523d04043970