Skip to content

Commit af47912

Browse files
committed
Properly declare buildfs target so it can be used for pre/post actions
Resolves platformio/platformio-core#3842
1 parent 312a96e commit af47912

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
@@ -248,7 +248,7 @@ def get_esptoolpy_reset_flags(resetmethod):
248248
join("$BUILD_DIR", "${PROGNAME}"), target_elf)
249249
env.Depends(target_firm, "checkprogsize")
250250

251-
env.AddPlatformTarget("buildfs", target_firm, None, "Build Filesystem Image")
251+
env.AddPlatformTarget("buildfs", target_firm, target_firm, "Build Filesystem Image")
252252
AlwaysBuild(env.Alias("nobuild", target_firm))
253253
target_buildprog = env.Alias("buildprog", target_firm, target_firm)
254254

0 commit comments

Comments
 (0)