secure boot: Fix bootloader build system target for bootloader digest

Closes https://github.com/espressif/esp-idf/issues/4513
This commit is contained in:
Angus Gratton 2019-12-20 15:09:15 +11:00 committed by Angus Gratton
parent 2fa24d6e39
commit 0cc98b8d76

View File

@ -76,7 +76,7 @@ if(CONFIG_SECURE_BOOTLOADER_REFLASHABLE)
COMMAND ${CMAKE_COMMAND} -E echo "DIGEST ${bootloader_digest_bin}"
COMMAND ${ESPSECUREPY} digest_secure_bootloader --keyfile "${secure_bootloader_key}"
-o "${bootloader_digest_bin}" "${CMAKE_BINARY_DIR}/bootloader.bin"
MAIN_DEPENDENCY gen_project_binary
MAIN_DEPENDENCY "${CMAKE_BINARY_DIR}/.bin_timestamp"
DEPENDS gen_secure_bootloader_key gen_project_binary
VERBATIM)