From d65de422824134c496cc42f25eecc69efb51e1ee Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Tue, 4 Mar 2025 11:02:20 +0000 Subject: [PATCH] cmake: mcuboot: Configure key and signature variables Configures both of these variables so that they can contain CMake variables which will be expanded Signed-off-by: Jamie McCrae --- cmake/mcuboot.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/mcuboot.cmake b/cmake/mcuboot.cmake index 2767af807c1..9321c2f5cfd 100644 --- a/cmake/mcuboot.cmake +++ b/cmake/mcuboot.cmake @@ -19,6 +19,8 @@ endfunction() function(zephyr_mcuboot_tasks) set(keyfile "${CONFIG_MCUBOOT_SIGNATURE_KEY_FILE}") set(keyfile_enc "${CONFIG_MCUBOOT_ENCRYPTION_KEY_FILE}") + string(CONFIGURE "${keyfile}" keyfile) + string(CONFIGURE "${keyfile_enc}" keyfile_enc) if(NOT "${CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE}") # Check for misconfiguration.