From 0cc98b8d76975b2c52f5dd6f7b346c3e2326de1a Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 20 Dec 2019 15:09:15 +1100 Subject: [PATCH] secure boot: Fix bootloader build system target for bootloader digest Closes https://github.com/espressif/esp-idf/issues/4513 --- components/bootloader/subproject/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bootloader/subproject/CMakeLists.txt b/components/bootloader/subproject/CMakeLists.txt index 9a49fee85..e6bdbb7db 100644 --- a/components/bootloader/subproject/CMakeLists.txt +++ b/components/bootloader/subproject/CMakeLists.txt @@ -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)