zephyr/cmake/compiler
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
..
arcmwdt
armclang
clang cmake: detect LLVM picolibc and newlib support 2024-10-04 16:34:35 +01:00
gcc cmake: gcc/ld: Fix LTO warnings 2024-10-25 18:49:07 +01:00
host-gcc
icx
xcc cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
xt-clang
compiler_features.cmake
compiler_flags_template.cmake cmake: move specs compiler and linker flags to toolchain properties 2024-10-04 16:34:35 +01:00