mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
components: restore dependency of extra bins on flash target
This commit is contained in:
@@ -34,7 +34,7 @@ if(NOT BOOTLOADER_BUILD)
|
|||||||
${otadata_size} ${blank_otadata_file})
|
${otadata_size} ${blank_otadata_file})
|
||||||
|
|
||||||
add_custom_target(blank_ota_data ALL DEPENDS ${blank_otadata_file})
|
add_custom_target(blank_ota_data ALL DEPENDS ${blank_otadata_file})
|
||||||
add_dependencies(app blank_ota_data)
|
add_dependencies(flash blank_ota_data)
|
||||||
|
|
||||||
set(otatool_py ${python} ${COMPONENT_DIR}/otatool.py)
|
set(otatool_py ${python} ${COMPONENT_DIR}/otatool.py)
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@ if(CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION)
|
|||||||
COMMAND ${CMAKE_OBJCOPY} -O binary phy_init_data.obj ${phy_init_data_bin}
|
COMMAND ${CMAKE_OBJCOPY} -O binary phy_init_data.obj ${phy_init_data_bin}
|
||||||
)
|
)
|
||||||
add_custom_target(phy_init_data ALL DEPENDS ${phy_init_data_bin})
|
add_custom_target(phy_init_data ALL DEPENDS ${phy_init_data_bin})
|
||||||
add_dependencies(app phy_init_data)
|
add_dependencies(flash phy_init_data)
|
||||||
|
|
||||||
esptool_py_flash_project_args(phy ${phy_partition_offset} ${phy_init_data_bin} FLASH_IN_PROJECT)
|
esptool_py_flash_project_args(phy ${phy_partition_offset} ${phy_init_data_bin} FLASH_IN_PROJECT)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user