From d49ccfff6a0e5f3210c1d277a26c4552d195a2bc Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 16 Aug 2024 08:12:04 +0100 Subject: [PATCH] cmake: sysbuild: nrf700x: Fix not configuring string for key Fixes the key variable not being expanded for nrf700x image signing Signed-off-by: Jamie McCrae --- cmake/sysbuild/image_signing_nrf700x.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/sysbuild/image_signing_nrf700x.cmake b/cmake/sysbuild/image_signing_nrf700x.cmake index 99728f1d294b..7480f8ee3df8 100644 --- a/cmake/sysbuild/image_signing_nrf700x.cmake +++ b/cmake/sysbuild/image_signing_nrf700x.cmake @@ -4,6 +4,8 @@ function(nrf7x_signing_tasks input output_hex output_bin dependencies) set(keyfile "${SB_CONFIG_BOOT_SIGNATURE_KEY_FILE}") set(keyfile_enc "${SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE}") + string(CONFIGURE "${keyfile}" keyfile) + string(CONFIGURE "${keyfile_enc}" keyfile_enc) if(NOT "${SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE}") # Check for misconfiguration.