zephyr/cmake/toolchain
Daniel Leung e73231f7f0 toolchain: xcc: use Clang if exists
The XCC toolchain may come with Clang front-end depending on
how it's built. Currently, the only SoC/board using XCC is
the intel_s1000_crb and its XCC toolchain comes with Clang
3.9.0 which has a lot better support for C99 and C++11 than
the portion based on GCC 4.2 (which does not even support
C++11). So this change attempts to use the Clang portion
instead of GCC if the Clang executable exists.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-01-07 17:09:38 +01:00
..
cross-compile cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
espressif cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
gnuarmemb cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
host cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
llvm cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
xcc toolchain: xcc: use Clang if exists 2020-01-07 17:09:38 +01:00
xtools cmake: xtools: use SoC name in path to xtensa toolchain 2019-12-21 10:27:32 -05:00
zephyr xtensa: add support to build HAL as part of build process 2019-12-18 20:24:18 -05:00