Ensure that verbosity is applied in avr-gcc recipes
authorAkos Kiss <akiss@inf.u-szeged.hu>
Sat, 12 Sep 2020 21:44:52 +0000 (23:44 +0200)
committerAkos Kiss <akiss@inf.u-szeged.hu>
Sat, 12 Sep 2020 21:44:52 +0000 (23:44 +0200)
Makefile.common

index 60df96a..bf1724a 100644 (file)
@@ -156,8 +156,10 @@ endif
 
 # --mcall-prologues can be used here, but messes up debugging a little
 %.axf: %.c
+ifneq ($(E),)
        @echo AVR-CC ${<}
-       @part=${<} ; part=$${part/_*}; \
+endif
+       ${E}part=${<} ; part=$${part/_*}; \
        ${AVR}gcc -Wall -gdwarf-2 -Os -std=gnu99 \
                        -mmcu=$$part \
                        -DF_CPU=8000000 \