mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
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:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user