zephyr/share/sysbuild
Grzegorz Swiderski 93b1fb2713 sysbuild: Support BUILD_ONLY images
Add a new parameter to `ExternalZephyrProject_Add()`, which determines
whether a given sysbuild image should only be built and not considered
for flashing and debugging. By adding the following arguments:

   BUILD_ONLY TRUE

the image will be marked as build-only and excluded from `domains.yaml`.

For cases where this setting should be controlled by users or individual
samples, Kconfig can be used:

   ExternalZephyrProject_Add(
     APPLICATION foo
     SOURCE_DIR /path/to/foo
     BUILD_ONLY ${CONFIG_FOO_IS_BUILD_ONLY}
   )

This would be particularly fitting for "general-purpose" images, defined
in-tree or via Zephyr modules (whose inclusion in the multi-image build
should also be Kconfigurable).

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2023-08-08 12:35:21 +00:00
..
bootloader sysbuild: generate .config.sysbuild for controlling build settings 2023-05-25 14:57:41 +02:00
cmake sysbuild: Support BUILD_ONLY images 2023-08-08 12:35:21 +00:00
CMakeLists.txt sysbuild: generate .config.sysbuild for controlling build settings 2023-05-25 14:57:41 +02:00
Kconfig sysbuild: support Zephyr modules 2023-03-09 09:25:00 +01:00
image_config.cmake sysbuild: Fix value propagation of signature type to MCUboot 2023-06-08 06:51:33 -04:00