From e34d61b619fb2e89ed0c3dc3d6082cded01e442b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 20 Feb 2017 12:22:24 +0200 Subject: [PATCH] Make verbose actions for partitions and LD script --- builder/frameworks/espidf.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 356df1c..6b760f2 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -261,11 +261,11 @@ env.Append( partition_table = env.Command( join("$BUILD_DIR", "partitions_table.bin"), - join(FRAMEWORK_DIR, "components", - "partition_table", "partitions_singleapp.csv"), - '"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join( - FRAMEWORK_DIR, "components", "partition_table", "gen_esp32part.py") -) + join(FRAMEWORK_DIR, "components", "partition_table", + "partitions_singleapp.csv"), + env.VerboseAction('"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join( + FRAMEWORK_DIR, "components", "partition_table", "gen_esp32part.py"), + "Generating partitions $TARGET")) env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table) @@ -277,8 +277,9 @@ env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", partition_table) linker_script = env.Command( join("$BUILD_DIR", "esp32_out.ld"), join(FRAMEWORK_DIR, "components", "esp32", "ld", "esp32.ld"), - "$CC -I$PROJECTSRC_DIR -C -P -x c -E $SOURCE -o $TARGET" -) + env.VerboseAction( + "$CC -I$PROJECTSRC_DIR -C -P -x c -E $SOURCE -o $TARGET", + "Generating LD script $TARGET")) env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", linker_script)