Skip to content

Commit d65de42

Browse files
nordicjmkartben
authored andcommitted
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 <jamie.mccrae@nordicsemi.no>
1 parent 65c7f1f commit d65de42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/mcuboot.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ endfunction()
1919
function(zephyr_mcuboot_tasks)
2020
set(keyfile "${CONFIG_MCUBOOT_SIGNATURE_KEY_FILE}")
2121
set(keyfile_enc "${CONFIG_MCUBOOT_ENCRYPTION_KEY_FILE}")
22+
string(CONFIGURE "${keyfile}" keyfile)
23+
string(CONFIGURE "${keyfile_enc}" keyfile_enc)
2224

2325
if(NOT "${CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE}")
2426
# Check for misconfiguration.

0 commit comments

Comments
 (0)