diff --git a/tests/boot/mcuboot_recovery_retention/sysbuild.cmake b/tests/boot/mcuboot_recovery_retention/sysbuild.cmake index 6000a6416e7..6207fe8e58c 100644 --- a/tests/boot/mcuboot_recovery_retention/sysbuild.cmake +++ b/tests/boot/mcuboot_recovery_retention/sysbuild.cmake @@ -1,9 +1,9 @@ set(mcuboot_EXTRA_ZEPHYR_MODULES "${CMAKE_CURRENT_LIST_DIR}/test_module" CACHE INTERNAL "test_module directory") -if(DEFINED mcuboot_TARGET_OVERLAY_CONFIG) - list(APPEND mcuboot_OVERLAY_CONFIG "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_OVERLAY_CONFIG}") - list(REMOVE_DUPLICATES mcuboot_OVERLAY_CONFIG) - set(mcuboot_OVERLAY_CONFIG "${mcuboot_OVERLAY_CONFIG}" CACHE INTERNAL "") +if(DEFINED mcuboot_TARGET_EXTRA_CONF_FILE) + list(APPEND mcuboot_EXTRA_CONF_FILE "${CMAKE_CURRENT_LIST_DIR}/sysbuild/mcuboot/${mcuboot_TARGET_EXTRA_CONF_FILE}") + list(REMOVE_DUPLICATES mcuboot_EXTRA_CONF_FILE) + set(mcuboot_EXTRA_CONF_FILE "${mcuboot_EXTRA_CONF_FILE}" CACHE INTERNAL "") endif() if(DEFINED mcuboot_TARGET_DTC_OVERLAY_FILE) diff --git a/tests/boot/mcuboot_recovery_retention/testcase.yaml b/tests/boot/mcuboot_recovery_retention/testcase.yaml index 0bb7e62e706..9a68b6a7082 100644 --- a/tests/boot/mcuboot_recovery_retention/testcase.yaml +++ b/tests/boot/mcuboot_recovery_retention/testcase.yaml @@ -30,7 +30,7 @@ tests: extra_args: - EXTRA_CONF_FILE="boards/nrf52840dk_nrf52840_mem.conf" - DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay" - - mcuboot_TARGET_OVERLAY_CONFIG="boards/nrf52840dk_nrf52840_mem.conf" + - mcuboot_TARGET_EXTRA_CONF_FILE="boards/nrf52840dk_nrf52840_mem.conf" - mcuboot_TARGET_DTC_OVERLAY_FILE="boards/nrf52840dk_nrf52840_mem.overlay" tags: - mcuboot