From f55b23fd98148ea9d17bf510bbb7906cb476539f Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Fri, 29 May 2026 17:15:23 +0200 Subject: [PATCH] ci(bootloader): silence expected SECURE_BOOT_SIGNING_KEY CMake warning Reference SECURE_BOOT_SIGNING_KEY in the bootloader subproject so CMake does not warn about a manually-specified-but-unused variable when the sign-key consumers are in config-gated blocks. Ports the same fix the v1 subproject CMakeLists already has at line 119-120. --- components/bootloader/subproject/CMakeLists_v2.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/bootloader/subproject/CMakeLists_v2.txt b/components/bootloader/subproject/CMakeLists_v2.txt index 231f315579b..50bda3faa2c 100644 --- a/components/bootloader/subproject/CMakeLists_v2.txt +++ b/components/bootloader/subproject/CMakeLists_v2.txt @@ -40,6 +40,9 @@ include("${IDF_PATH}/tools/cmakev2/idf.cmake") project(bootloader C CXX ASM) +# Suppress warning: "Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY" +set(_ignore_signing_key "${SECURE_BOOT_SIGNING_KEY}") + # --------------------------------------------------------------------------- # Bootloader-specific build properties set before project initialization # ---------------------------------------------------------------------------