Skip to content

Commit 1cfc4b1

Browse files
committed
Add CT_MULTILIB_SPACE=y to arm and arc configurations
This provides -Os versions of every toolchain library for these two targets. Other targets that want to add the -Os versions can include CT_MULTILIB_SPACE=y to their config files. Signed-off-by: Keith Packard <[email protected]>
1 parent 10b9c48 commit 1cfc4b1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

configs/arc-zephyr-elf.config

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ CT_ARCH_ARC=y
44
CT_TARGET_VENDOR="zephyr"
55
CT_TARGET_CFLAGS="-mno-sdata -mtp-regno=26 -ftls-model=local-exec"
66
CT_MULTILIB=y
7+
CT_MULTILIB_SPACE=y

configs/arm-zephyr-eabi.config

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ CT_ARCH_ARM_INTERWORKING=y
55
CT_TARGET_VENDOR="zephyr"
66
CT_TARGET_CFLAGS="-ftls-model=local-exec"
77
CT_MULTILIB=y
8+
CT_MULTILIB_SPACE=y
89
CT_CC_GCC_MULTILIB_LIST="rmprofile"
910
CT_LIBC_NEWLIB_NANO_TARGET_CFLAGS="-mthumb-interwork"

configs/common.config

+1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ CT_PICOLIBC_SRC_CUSTOM=y
7272
CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc"
7373
CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y
7474
CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y
75+
CT_LIBC_PICOLIBC_ENABLE_TARGET_OPTSPACE=n
7576
CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true -Dassert-verbose=false"

0 commit comments

Comments
 (0)