Skip to content

Commit 4a61a17

Browse files
hakonfamSebastianBoe
authored andcommitted
[nrf toup] cmake: fix dependency for merged files to sign
It is required to depend on both the wrapper target and the file. This patch adds the missing file dependency. Prior to this signed.hex (and following files) were not updated upon code change. Signed-off-by: Håkon Øye Amundsen <[email protected]>
1 parent 8cb0e49 commit 4a61a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
2323
set(merged_hex_file
2424
${app_binary_dir}/mcuboot_primary_app.hex)
2525
set(merged_hex_file_depends
26-
mcuboot_primary_app_hex)
26+
mcuboot_primary_app_hex$<SEMICOLON>${PROJECT_BINARY_DIR}/mcuboot_primary_app.hex)
2727
set(sign_merged
2828
$<TARGET_EXISTS:partition_manager>)
2929
set(to_sign_hex

0 commit comments

Comments
 (0)