File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 701
701
Build System
702
702
************
703
703
704
+ * The build system's internals have been completely overhauled for increased
705
+ modularity. This makes it easier to reuse individual components through the
706
+ Zephyr CMake package mechanism.
707
+
708
+ With the improved Zephyr CMake package, the following examples are now possible:
709
+
710
+ * ``find_package(Zephyr) ``: load a standard build system, as before
711
+ * ``find_package(Zephyr COMPONENTS unittest) ``: load a specific unittest
712
+ build component
713
+ * ``find_package(Zephyr COMPONENTS dts) ``: only load the dts module and its
714
+ direct dependencies
715
+ * ``find_package(Zephyr COMPONENTS extensions west zephyr_module) ``: load
716
+ multiple specific modules and their dependencies
717
+
718
+ Some use cases that this work intends to enable are:
719
+
720
+ * The sysbuild proposal: `Zephyr sysbuild / multi image #40555
721
+ <https://github.com/zephyrproject-rtos/zephyr/pull/40555> `_
722
+ * Running Zephyr CMake configure stages individually. One example is only
723
+ processing the devicetree steps of the build system, while skipping the
724
+ rest. This is a required feature for extending twister to do test case
725
+ filtering based on the devicetree contents without invoking a complete
726
+ CMake configuration.
727
+
728
+ For more details, see :zephyr_file: `cmake/package_helper.cmake `.
729
+
730
+ * A new Zephyr SDK has been created which now supports macOS and Windows in
731
+ addition to Linux platforms.
732
+
733
+ For more information, see: https://github.com/zephyrproject-rtos/sdk-ng
734
+
704
735
Devicetree
705
736
**********
706
737
You can’t perform that action at this time.
0 commit comments