zephyr/cmake/modules
Ederson de Souza 41d05fccd6 cmake: Add xcc-clang toolchain
Instead of setting XCC_USE_CLANG=1, this patch adds xcc-clang toolchain
that is basically xcc using the clang compiler.

Initially, the new toolchain simply includes files from current xcc
toolchain and (re)sets some variables. This should be a more scalable
approach to diverge the toolchains in the future than placing
"if($ENV{XCC_USE_CLANG})" at several places.

It should also help to filter tests that run (or not) exclusively with
the clang variant of XCC on twister.

The XCC_USE_CLANG flag is documented as deprecated, and a message is
emitted during build if still in use. Its new behaviour is to instruct
Zephyr to use `xcc-clang` toolchain.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2022-02-25 11:17:06 -05:00
..
arch.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
boards.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
ccache.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
configuration_files.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
doc.cmake cmake: doc: created a doc.cmake CMake module in Zephyr CMake modules dir 2022-02-22 10:02:39 -08:00
dts.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
extensions.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
generic_toolchain.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
host-tools.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
kconfig.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
kernel.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
python.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
root.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
shields.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
soc.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
target_toolchain.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
unittest.cmake cmake: moved unittest.cmake to Zephyr CMake modules dir 2022-02-22 10:02:39 -08:00
user_cache.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
verify-toolchain.cmake cmake: Add xcc-clang toolchain 2022-02-25 11:17:06 -05:00
version.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
west.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
zephyr_default.cmake cmake: support sub-component loading in zephyr_default module 2022-02-23 11:34:22 -08:00
zephyr_module.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00