Skip to content

Commit 292af33

Browse files
committed
[nrf fromlist] sysbuild: Allow to use file suffix DTS overlays
Fix the incorrect syntax in the cmake foreach directive. Ref: NCSDK-NONE Upstream PR #: 90643 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent d07064e commit 292af33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/sysbuild/cmake/modules/sysbuild_extensions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function(ExternalZephyrProject_Add)
292292
list(PREPEND sysbuild_image_dts_overlay_files ${sysbuild_image_conf_dir}/${ZBUILD_APPLICATION}_${FILE_SUFFIX}.overlay)
293293
endif()
294294

295-
foreach(sysbuild_image_dts_overlay_files overlay_file)
295+
foreach(overlay_file ${sysbuild_image_dts_overlay_files})
296296
if(EXISTS ${overlay_file})
297297
set(${ZBUILD_APPLICATION}_DTC_OVERLAY_FILE ${overlay_file}
298298
CACHE INTERNAL "devicetree overlay file defined by main application"

0 commit comments

Comments
 (0)