Skip to content

Commit 71e52b5

Browse files
committed
Properly declare buildfs target so it can be used for pre/post actions
1 parent 34b55a4 commit 71e52b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def __fetch_spiffs_size(target, source, env):
232232
target_firm = env.ElfToBin(
233233
join("$BUILD_DIR", "${PROGNAME}"), target_elf)
234234

235-
env.AddPlatformTarget("buildfs", target_firm, None, "Build Filesystem Image")
235+
env.AddPlatformTarget("buildfs", target_firm, target_firm, "Build Filesystem Image")
236236
AlwaysBuild(env.Alias("nobuild", target_firm))
237237
target_buildprog = env.Alias("buildprog", target_firm, target_firm)
238238

0 commit comments

Comments
 (0)