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>
This commit is contained in:
parent
65c7f1f269
commit
d65de42282
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue