Extract the part of `dts.cmake` that invokes `gen_dts_cmake.py`, then
generalize it into a CMake extension, which can be reused by sysbuild.
The Python script itself is also updated, so that the generated CMake
file can accept an input variable DEVICETREE_TARGET, which comes from
the `zephyr_dt_import(TARGET ...)` argument.
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
pull/90333/head
Grzegorz Swiderski2 months agocommitted byBenjamin Cabé
@ -11,13 +11,12 @@ That data can then be used in the rest of the build system.
@@ -11,13 +11,12 @@ That data can then be used in the rest of the build system.