sysbuild: Fix mcuboot checksum only verification not working
Fixes an issue when configuring a project through sysbuild to use mcuboot and setting the verification to checksum only whereby the image would be unbootable. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
e253dc94a1
commit
5739d8dc1b
|
@ -59,6 +59,12 @@ if(SB_CONFIG_BOOTLOADER_MCUBOOT)
|
|||
"Signature key file for signing" FORCE
|
||||
)
|
||||
|
||||
if(SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE)
|
||||
set(${app_name}_CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE y CACHE STRING
|
||||
"MCUBOOT is configured for checksum mode" FORCE
|
||||
)
|
||||
endif()
|
||||
|
||||
# Set corresponding values in mcuboot
|
||||
set(mcuboot_CONFIG_BOOT_SIGNATURE_TYPE_${SB_CONFIG_SIGNATURE_TYPE} y CACHE STRING
|
||||
"MCUBOOT signature type" FORCE
|
||||
|
|
Loading…
Reference in a new issue