Skip to content

Commit f3b4050

Browse files
committed
fix: Secure boot (ECDSA) build failure for C6 rev0 target
Closes #15856
1 parent c508207 commit f3b4050

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/bootloader_support/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ if(CONFIG_APP_BUILD_TYPE_APP_2NDBOOT)
6565
endif()
6666

6767
list(APPEND srcs "src/bootloader_sha.c")
68+
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
69+
list(APPEND srcs "src/${IDF_TARGET}/bootloader_ecdsa.c")
70+
endif()
6871

6972
if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
7073
set(include_dirs "include" "bootloader_flash/include"
@@ -82,10 +85,6 @@ if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM)
8285
list(APPEND srcs "src/bootloader_utility_tee.c")
8386
endif()
8487
list(APPEND priv_requires hal)
85-
if(CONFIG_ESP_ROM_REV0_HAS_NO_ECDSA_INTERFACE)
86-
list(APPEND srcs
87-
"src/${IDF_TARGET}/bootloader_ecdsa.c")
88-
endif()
8988
else()
9089
set(include_dirs "include" "bootloader_flash/include")
9190
set(priv_include_dirs "private_include")

0 commit comments

Comments
 (0)