Wrap "gen_esp32part" command with verbose action and own label (#198)

This commit is contained in:
Ivan Kravets 2017-02-11 00:14:09 +02:00 committed by Me No Dev
parent d92c7686b0
commit 5de2429bf8

View File

@ -154,7 +154,7 @@ env.Prepend(LIBS=libs)
partition_table = env.Command(
join("$BUILD_DIR", "partitions.bin"),
join(FRAMEWORK_DIR, "tools", "partitions", "default.csv"),
'"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join(
FRAMEWORK_DIR, "tools", "gen_esp32part.py")
)
env.VerboseAction('"$PYTHONEXE" "%s" -q $SOURCE $TARGET' %
join(FRAMEWORK_DIR, "tools", "gen_esp32part.py"),
"Generating partitions $TARGET"))
env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table)