From 5411475cbe688c3021149ce49cd6416f0b868713 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 31 Aug 2023 14:38:33 -0700 Subject: [PATCH] xtensa: enable multilib for dc233c and sample_controller This enables multilib support for building GCC. This is needed to support both CALL0 and Windowed ABIs. Signed-off-by: Daniel Leung --- configs/xtensa-dc233c_zephyr-elf.config | 1 + configs/xtensa-sample_controller_zephyr-elf.config | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xtensa-dc233c_zephyr-elf.config b/configs/xtensa-dc233c_zephyr-elf.config index 27261724..3763307c 100644 --- a/configs/xtensa-dc233c_zephyr-elf.config +++ b/configs/xtensa-dc233c_zephyr-elf.config @@ -6,3 +6,4 @@ CT_ARCH_XTENSA=y CT_XTENSA_CUSTOM=y CT_TARGET_VENDOR="dc233c_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" +CT_MULTILIB=y diff --git a/configs/xtensa-sample_controller_zephyr-elf.config b/configs/xtensa-sample_controller_zephyr-elf.config index b3af0b2d..a95b21eb 100644 --- a/configs/xtensa-sample_controller_zephyr-elf.config +++ b/configs/xtensa-sample_controller_zephyr-elf.config @@ -7,3 +7,4 @@ CT_XTENSA_CUSTOM=y CT_TARGET_VENDOR="sample_controller_zephyr" CT_TARGET_CFLAGS="-ftls-model=local-exec" CT_CC_GCC_CONFIG_TLS=n +CT_MULTILIB=y