mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
partition_table: output partition table info for partition_table target
This commit is contained in:
parent
28f3619a90
commit
7db5c3ffd1
@ -43,7 +43,13 @@ if(CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EXISTS ${partition_csv})
|
if(EXISTS ${partition_csv})
|
||||||
add_custom_target(partition_table ALL DEPENDS "${final_partition_bin}")
|
add_custom_target(partition_table ALL DEPENDS "${final_partition_bin}"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "Partition table binary generated. Contents:"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "*******************************************************************************"
|
||||||
|
COMMAND "${PYTHON}" "${CMAKE_CURRENT_SOURCE_DIR}/gen_esp32part.py" -q --offset
|
||||||
|
${PARTITION_TABLE_OFFSET} ${md5_opt} ${flashsize_opt} "${unsigned_partition_bin}"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "*******************************************************************************"
|
||||||
|
VERBATIM)
|
||||||
else()
|
else()
|
||||||
# This is a bit of a hack: If the partition input CSV is not found, create a phony partition_table target that
|
# This is a bit of a hack: If the partition input CSV is not found, create a phony partition_table target that
|
||||||
# fails the build. Have it also touch CMakeCache.txt to cause a cmake run next time
|
# fails the build. Have it also touch CMakeCache.txt to cause a cmake run next time
|
||||||
|
Loading…
Reference in New Issue
Block a user