Skip to content

Commit b76ec06

Browse files
committed
Add an explicit dependency on checkprogsize target for the final binary
1 parent 71e52b5 commit b76ec06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def __fetch_spiffs_size(target, source, env):
231231
else:
232232
target_firm = env.ElfToBin(
233233
join("$BUILD_DIR", "${PROGNAME}"), target_elf)
234+
env.Depends(target_firm, "checkprogsize")
234235

235236
env.AddPlatformTarget("buildfs", target_firm, target_firm, "Build Filesystem Image")
236237
AlwaysBuild(env.Alias("nobuild", target_firm))

0 commit comments

Comments
 (0)