From 1fbf10c3cf4db2469ab3e18e0a2723d5fa3e6bb3 Mon Sep 17 00:00:00 2001 From: Peter Dragun Date: Mon, 1 Dec 2025 16:14:09 +0100 Subject: [PATCH] fix: Add partition_table as a dependency to the partition-table-flash target --- components/partition_table/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/partition_table/CMakeLists.txt b/components/partition_table/CMakeLists.txt index 53154d612fb..da57cbea2b1 100644 --- a/components/partition_table/CMakeLists.txt +++ b/components/partition_table/CMakeLists.txt @@ -175,6 +175,8 @@ if(CONFIG_APP_BUILD_GENERATE_BINARIES AND CONFIG_APP_BUILD_TYPE_APP_2NDBOOT) esptool_py_flash_target_image(flash partition-table "${PARTITION_TABLE_OFFSET}" "${build_dir}/partition_table/${final_partition_bin}") + # Add partition table as a dependency to the partition-table-flash target + add_dependencies(partition-table-flash partition-table) # Add partition table as a dependency to the flash target add_dependencies(flash partition_table_bin)