From a7141f75d7fc7a249285bd8d05bfd291ca67547c Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Fri, 9 Aug 2024 08:38:38 +0200 Subject: [PATCH] fix: Fix condition checking if secure boot signing key exists --- components/bootloader/project_include.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bootloader/project_include.cmake b/components/bootloader/project_include.cmake index 34d7e0cb66..2afe2116d3 100644 --- a/components/bootloader/project_include.cmake +++ b/components/bootloader/project_include.cmake @@ -59,7 +59,7 @@ if(CONFIG_SECURE_SIGNED_APPS) # If the signing key is not found, create a phony gen_secure_boot_signing_key target that # fails the build. fail_at_build_time causes a cmake run next time # (to pick up a new signing key if one exists, etc.) - if(CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME) + if(CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME OR CONFIG_SECURE_SIGNED_APPS_ECDSA_SCHEME) fail_at_build_time(gen_secure_boot_signing_key "Secure Boot Signing Key ${CONFIG_SECURE_BOOT_SIGNING_KEY} does not exist. Generate using:" "\tidf.py secure-generate-signing-key ${CONFIG_SECURE_BOOT_SIGNING_KEY}")