Commit bd6d43d4 authored by Jamie McCrae's avatar Jamie McCrae Committed by Carles Cufi
Browse files

sysbuild: bootloader: Fix setting application Kconfig in MCUboot

Fixes wrongly setting configuration to generate an unsigned image
in the MCUboot configuration when this does not apply to MCUboot

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 6de5a1a5
Loading
Loading
Loading
Loading
+0 −8
Changes for share/sysbuild/image_configurations/BOOTLOADER_image_default.cmake: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -27,11 +27,3 @@ foreach(loopkeytype ${keytypes})
    set_config_bool(${ZCMAKE_APPLICATION} ${loopkeytype} n)
  endif()
endforeach()

if(SB_CONFIG_BOOTLOADER_MCUBOOT)
  if("${SB_CONFIG_SIGNATURE_TYPE}" STREQUAL "NONE")
    set_config_bool(${ZCMAKE_APPLICATION} CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE y)
  else()
    set_config_bool(${ZCMAKE_APPLICATION} CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE n)
  endif()
endif()