mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
partition_table: output partition table info for partition_table target
This commit is contained in:
committed by
Renz Bagaporo
parent
42891432c5
commit
0ee287cd32
@@ -49,7 +49,14 @@ if(CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EXISTS ${partition_csv})
|
if(EXISTS ${partition_csv})
|
||||||
add_custom_target(partition_table ALL DEPENDS "${IDF_BUILD_ARTIFACTS_DIR}/partition_table/${final_partition_bin}")
|
add_custom_target(partition_table ALL DEPENDS "${IDF_BUILD_ARTIFACTS_DIR}/partition_table/${final_partition_bin}"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "Partition table binary generated. Contents:"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "*******************************************************************************"
|
||||||
|
COMMAND COMMAND "${PYTHON}" "${CMAKE_CURRENT_SOURCE_DIR}/gen_esp32part.py"
|
||||||
|
-q --offset ${PARTITION_TABLE_OFFSET} ${md5_opt} ${flashsize_opt}
|
||||||
|
${partition_secure_opt} "${IDF_BUILD_ARTIFACTS_DIR}/partition_table/${unsigned_partition_bin}"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E echo "*******************************************************************************"
|
||||||
|
VERBATIM)
|
||||||
else()
|
else()
|
||||||
# If the partition input CSV is not found, create a phony partition_table target that
|
# If the partition input CSV is not found, create a phony partition_table target that
|
||||||
# fails the build. fail_at_build_time also touches CMakeCache.txt to cause a cmake run next time
|
# fails the build. fail_at_build_time also touches CMakeCache.txt to cause a cmake run next time
|
||||||
|
Reference in New Issue
Block a user