zephyr/scripts/pylib/twister/twisterlib
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
..
cmakecache.py
config_parser.py twister: rework testsuite parsing 2022-07-05 12:06:27 -04:00
coverage.py scripts: better logging for --coverage-formats option 2022-07-18 15:03:13 -04:00
environment.py cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
error.py
handlers.py twister: Remove import exception handler for psutil 2022-09-01 06:22:04 -04:00
hardwaremap.py scripts: pylib: twister: twisterlib: fix typo 2022-07-19 11:41:54 -04:00
harness.py
log_helper.py twister: improve logging of cmake commands 2022-08-26 08:53:14 +02:00
mixins.py
platform.py scripts: pylib: twister: twisterlib: fix typo 2022-07-19 11:41:54 -04:00
reports.py
runner.py twister: improve logging of cmake commands 2022-08-26 08:53:14 +02:00
size_calc.py
testinstance.py
testplan.py twister: enhance support for board@revision as platform name 2022-08-18 17:23:18 +02:00
testsuite.py scripts: pylib: twister: twisterlib: fix typo 2022-07-19 11:41:54 -04:00