zephyr/cmake/modules
Torsten Rasmussen 7131d02fa4 cmake: rework of target toolchain handling
Follow-up: #41301

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

Instead of directly loading code a CMake modules for target toolchain
lookup, the target toolchain now follows the CMake `find_package()`
pattern for finding the target toolchain.

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()`:
- Target toolchain: find_package(TargetTools)

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2022-09-01 15:59:43 +02:00
..
arch.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
boards.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
ccache.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
configuration_files.cmake everywhere: fix typos 2022-03-18 13:24:08 -04: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: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
extensions.cmake cmake: Add support to add symbols to nocache section 2022-08-29 11:19:48 +02:00
FindDtc.cmake cmake: cleanup search for devicetree compiler, dtc 2022-09-01 15:59:43 +02:00
FindHostTools.cmake cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
FindTargetTools.cmake cmake: rework of target toolchain handling 2022-09-01 15:59:43 +02:00
FindZephyr-sdk.cmake cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
kconfig.cmake cmake: kconfig: preserved quotes for Kconfig string values 2022-08-25 17:53:11 -07:00
kernel.cmake cmake: rework of target toolchain handling 2022-09-01 15:59:43 +02:00
python.cmake cmake: Bump the minimum required Python version to 3.8 2022-08-24 18:35:57 +02:00
root.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
shields.cmake devicetree: drop support for dts_fixup.h files 2022-08-11 12:17:02 +02:00
soc.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
unittest.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
user_cache.cmake scripts: move dir_is_writeable.py to scripts/build 2022-07-12 10:03:45 +02: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: rework of target toolchain handling 2022-09-01 15:59:43 +02:00
zephyr_module.cmake scripts: enforce module name uniqueness 2022-03-10 09:47:58 -05:00