zephyr/cmake
Torsten Rasmussen 8e8c6cd92b cmake: improved DTC detection handling
Fixes: #26096

In some cases DTC may be installed, but in a non-working state.
In such cases, CMake will abort processing with an cryptic error.

This commit now handles dtc version errors and print a warning., and
CMake processing continues.

dtc is an optional component and failures should not break CMake run.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-06-12 17:10:36 +02:00
..
app cmake: make find_package(ZephyrUnittest...) REQUIRED 2020-06-12 11:10:23 +02:00
bintools cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
compiler cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
emu cmake: emu: Support QEMU semihosting console emulation 2020-05-07 23:33:38 -05:00
flash cmake: fix bug in generated runners.yaml 2020-04-09 14:04:27 +02:00
ide
linker/ld cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
makefile_exports cmake: Add option for exporting build metadata to Make 2020-01-23 15:09:12 -05:00
reports build: reports: add puncover target 2020-05-04 17:33:56 -04:00
toolchain cmake: fix usage of Zephyr SDK tools with 3rd party toolchains 2020-05-19 17:12:11 +02:00
usage cmake: ninja usage build target 2020-03-27 16:23:46 +01:00
util
boards.cmake doc,cmake: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
ccache.cmake
cfb.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
dts.cmake cmake: re-run if gen_defines changes 2020-04-13 08:22:46 -05:00
extensions.cmake cmake, samples, tests: Use semi-accurate project names 2020-06-09 08:18:29 -04:00
extra_flags.cmake
gcc-m-cpu.cmake arch: arm: aarch64: Add Cortex-A72 config 2020-05-08 10:46:23 +02:00
generic_toolchain.cmake cmake: Zephyr sdk package handling 2020-05-08 17:15:55 +02:00
git.cmake
hex.cmake
host-tools.cmake cmake: improved DTC detection handling 2020-06-12 17:10:36 +02:00
kconfig.cmake cmake: kconfig: pass EXTRA_DTC_FLAGS to kconfig for EDT init 2020-04-16 06:07:24 -05:00
kobj.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
pristine.cmake
python.cmake cmake: find python3 on windows when multiarch are installed 2020-05-13 12:13:36 +02:00
target_toolchain.cmake
version.cmake cmake: Added possibility to disable the printing of version 2020-03-27 16:23:46 +01:00
zephyr_module.cmake cmake: propagating zephyr base to west 2020-03-27 16:23:46 +01:00