Skip to content

Commit 3a4e28b

Browse files
committed
cmake: mcuboot: Fix build with RAM load and encryption
Fix wrong byproduct name for the unencrypted slot 1 image, avoiding conflicts with the encrypted image. Signed-off-by: Alberto Dalibor Rodda <[email protected]>
1 parent 545d40e commit 3a4e28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/mcuboot.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function(zephyr_mcuboot_tasks)
222222
endif()
223223

224224
if(CONFIG_MCUBOOT_BOOTLOADER_MODE_RAM_LOAD OR CONFIG_MCUBOOT_BOOTLOADER_MODE_RAM_LOAD_WITH_REVERT)
225-
list(APPEND byproducts ${output}.slot1.signed.encrypted.bin)
225+
list(APPEND byproducts ${output}.slot1.signed.bin)
226226
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND
227227
${imgtool_sign} ${imgtool_args_alt_slot} ${output}.bin
228228
${output}.slot1.signed.bin)

0 commit comments

Comments
 (0)