From 3baff10b49d0651ccab365b6831012e7e3a8dbdf Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 16 Aug 2024 08:11:22 +0100 Subject: [PATCH] cmake: sysbuild: b0: Fix not configuring string for key Fixes the key variable not being expanded for b0n image signing Signed-off-by: Jamie McCrae --- cmake/sysbuild/b0_mcuboot_signing.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/sysbuild/b0_mcuboot_signing.cmake b/cmake/sysbuild/b0_mcuboot_signing.cmake index f9b205da0954..3ff9fbd98fe0 100644 --- a/cmake/sysbuild/b0_mcuboot_signing.cmake +++ b/cmake/sysbuild/b0_mcuboot_signing.cmake @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2023 Nordic Semiconductor ASA +# Copyright (c) 2020-2024 Nordic Semiconductor ASA # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # This file includes extra build system logic that is enabled when @@ -12,6 +12,7 @@ function(ncs_secure_boot_mcuboot_sign application bin_files signed_targets prefix) set(keyfile "${SB_CONFIG_BOOT_SIGNATURE_KEY_FILE}") + string(CONFIGURE "${keyfile}" keyfile) # Find imgtool. Even though west is installed, imgtool might not be. # The user may also have a custom manifest which doesn't include