Skip to content

Commit 5c6aaf7

Browse files
doc: release: build and infrastructure for v3.1
Two significant highlights are the build system internals revamp and the new Zephyr SDK. Fixes: #46221 Signed-off-by: Martí Bolívar <[email protected]>
1 parent f2e2bbd commit 5c6aaf7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

doc/releases/release-notes-3.1.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,37 @@ USB
701701
Build System
702702
************
703703

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+
704735
Devicetree
705736
**********
706737

0 commit comments

Comments
 (0)