zephyr/cmake
Daniel Leung cdb9166b81 cmake: toolchain/xcc,xt-clang: env vars for multiple cores
To use Xtensa toolchain, various environment variables must be
set so the executables can find necessary files and what core
to compile for. This becomes an annoyance when you have to
test multiple boards with different cores. You have to use
one set of environment variables per core. Twister cannot test
them all in one setting, and it is especially annoying doing
west builds. So enhance the environment variables handling so
that TOOLCHAIN_VER and XTENSA_CORE can be replaced by
TOOLCHAIN_VAR_<board> and XTENSA_CORE_<board> where <board>
is the normalized board target (think <board>.yaml). CMake
will then figure out the core ID for the toolchain to use.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-10-31 09:26:00 -05:00
..
app
bintools
compiler cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
emu cmake: emu: qemu: return to ctrl-c 2024-10-03 17:08:14 +01:00
flash cmake: flash: Update OPENOCD variables to work with sysbuild 2024-10-11 13:15:56 -04:00
ide
linker cmake: gcc/ld: Fix LTO warnings 2024-10-25 18:49:07 +01:00
linker_script cmake: linker: evaluate CONFIG_LINKER_ITERABLE_SUBALIGN in CMake 2024-09-25 16:16:35 -05:00
makefile_exports
modules cmake: scripts: support SoC extension 2024-10-26 17:14:06 +02:00
reports reports: footprint: Print footprint output 2024-10-25 22:44:07 +01:00
sca cmake: sca: codechecker: Add cleanup step 2024-09-12 10:04:05 +02:00
toolchain cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
usage
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake arch: Add Cortex-R8 support 2024-10-01 09:58:22 +02:00
gcc-m-fpu.cmake arch: Add Cortex-R8 support 2024-10-01 09:58:22 +02:00
gen_version_h.cmake cmake: Create git module 2024-09-12 10:04:05 +02:00
hex.cmake
kobj.cmake
llext-edk.cmake
mcuboot.cmake mcuboot: Add support for RAM load mode 2024-10-11 13:19:39 -04:00
package_helper.cmake cmake: move script mode handling from package helper to extensions.cmake 2024-10-08 17:00:30 +02:00
pristine.cmake
target_toolchain_flags.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
verify-toolchain.cmake
vif.cmake