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( partition_table = env.Command(
join("$BUILD_DIR", "partitions.bin"), join("$BUILD_DIR", "partitions.bin"),
join(FRAMEWORK_DIR, "tools", "partitions", "default.csv"), join(FRAMEWORK_DIR, "tools", "partitions", "default.csv"),
'"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join( env.VerboseAction('"$PYTHONEXE" "%s" -q $SOURCE $TARGET' %
FRAMEWORK_DIR, "tools", "gen_esp32part.py") join(FRAMEWORK_DIR, "tools", "gen_esp32part.py"),
) "Generating partitions $TARGET"))
env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table) env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table)