Make $PROGPATH configurable

This commit is contained in:
Ivan Kravets committed 2022-07-01 19:29:07 +03:00
1 parent 1445a91fab
commit d85bc0f7f8
3 files changed
+3 -6

No files matched your search

+1 -4
View File
@@ -75,10 +75,7 @@ def BuildProgram(env):
env.Prepend(_LIBFLAGS="-Wl,--start-group ")
env.Append(_LIBFLAGS=" -Wl,--end-group")
program = env.Program(
os.path.join("$BUILD_DIR", env.subst("$PROGNAME$PROGSUFFIX")),
env["PIOBUILDFILES"],
)
program = env.Program("$PROGPATH", env["PIOBUILDFILES"])
env.Replace(PIOMAINPROG=program)
AlwaysBuild(