zephyr/cmake/toolchain
Torsten Rasmussen 8d2998d4f9 cmake: rework of host tools and generic toolchain handling
Follow-up: #41301

This commit is a rework and cleanup of the tools handling in Zephyr
CMake build system.

Instead of directly loading code a CMake modules for tool lookup, the
host tools now follows the CMake `find_package()` pattern for finding
programs / tools in module mode.

This makes it more clear which modules are responsible for finding tools
and which modules provides build integration / features.

The following tools can now be found using `find_package()`:
- Zephyr-sdk        : find_package(Zephyr-sdk <version>)
- Generic host tools: find_package(HostTools)

This further allows us to decouple the `verify-toolchain` CMake script
part required by `twister` into a tool lookup module and a dedicated
CMake script which utilizes the lookup module.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2022-09-01 15:59:43 +02:00
..
arcmwdt cmake: add metaware toolchain support in build system 2020-09-05 10:22:56 -05:00
armclang armclang: ARM Compiler C library support 2021-08-30 08:54:23 -04:00
cross-compile everywhere: fix typos 2022-03-14 20:22:24 -04:00
espressif soc: xtensa: esp32_net: update kconfig 2022-08-16 18:06:02 +02:00
gnuarmemb
host
llvm LLVM: add built-in lld linker support for x86. 2022-06-05 14:10:25 +02:00
oneApi cmake: oneApi: add oneApi support on windows 2021-07-27 07:20:12 -04:00
xcc include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
xcc-clang cmake: Add xcc-clang toolchain 2022-02-25 11:17:06 -05:00
xtools arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
zephyr cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00