fix(cmakev2/build): fix typo in idf_sign_binary keyfile variable

The KEYFILE argument value was stored in a misspelled variable
"keyfle" instead of "keyfile", causing custom keyfile paths to
be silently ignored.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2026-03-06 17:05:51 +01:00
committed by BOT
parent 413a0615bf
commit 43d4fdd4b3

View File

@@ -1067,7 +1067,7 @@ function(idf_sign_binary binary)
endif()
if(ARG_KEYFILE)
set(keyfle "${ARG_KEYFILE}")
set(keyfile "${ARG_KEYFILE}")
else()
idf_build_get_property(project_dir PROJECT_DIR)
get_filename_component(keyfile "${CONFIG_SECURE_BOOT_SIGNING_KEY}" ABSOLUTE BASE_DIR "${project_dir}")