From 1166bc56809f6ff47368599609608c9a3131ec78 Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Sun, 11 Apr 2021 02:36:25 +0800 Subject: [PATCH] bootloader: Suppress a Cmake warning - variables were not used by the project Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY --- components/bootloader/subproject/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/bootloader/subproject/CMakeLists.txt b/components/bootloader/subproject/CMakeLists.txt index 5975021d34..87617b33d0 100644 --- a/components/bootloader/subproject/CMakeLists.txt +++ b/components/bootloader/subproject/CMakeLists.txt @@ -54,6 +54,9 @@ string(REPLACE ";" " " esptoolpy_write_flash string(REPLACE ";" " " espsecurepy "${ESPSECUREPY}") string(REPLACE ";" " " espefusepy "${ESPEFUSEPY}") +# Suppress warning: "Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY" +set(ignore_signing_key "${SECURE_BOOT_SIGNING_KEY}") + if(CONFIG_SECURE_BOOTLOADER_REFLASHABLE) if(CONFIG_SECURE_BOOTLOADER_KEY_ENCODING_192BIT) set(key_digest_len 192)