zephyr/share/sysbuild
Torsten Rasmussen de53c0d2db sysbuild: cmake: fix sysbuild_cache_set() function
The sysbuild_cache_set() supports setting variables in a dedicated
sysbuild image cache. When appending to a list, the list is checked for
existance of the variable to avoid appending it again on reruns.

This was done be checking with `string(FIND ...)`, but that will also
return an index on a partial match.

A much safer approach is to use the `if(<val> IN_LIST <list>)` approach
to check for existance.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-04-29 15:53:17 +02:00
..
build sysbuild: Add support for COMPILER_WARNINGS_AS_ERRORS 2024-03-18 15:41:53 +01:00
cmake sysbuild: cmake: fix sysbuild_cache_set() function 2024-04-29 15:53:17 +02:00
image_configurations sysbuild: Add support for COMPILER_WARNINGS_AS_ERRORS 2024-03-18 15:41:53 +01:00
images sysbuild: add SoC-specific sysbuild configuration 2024-04-10 17:53:24 +02:00
CMakeLists.txt sysbuild: include HWMv2 Kconfig in sysbuild 2024-03-04 15:27:09 +00:00
Kconfig sysbuild: add SoC-specific sysbuild configuration 2024-04-10 17:53:24 +02:00
Kconfig.v1 sysbuild: include HWMv2 Kconfig in sysbuild 2024-03-04 15:27:09 +00:00
Kconfig.v2 boards/Kconfig: $BOARD_REVISION -> $(BOARD_REVISION) 2024-03-13 08:38:07 +01:00