From fd867a11dfd2290306d1a2321f99b1c8391eb7d4 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 bfbb1fc20c..02fed3a054 100644 --- a/components/bootloader/subproject/CMakeLists.txt +++ b/components/bootloader/subproject/CMakeLists.txt @@ -57,6 +57,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)