Commit da656d6e816cd85239bcc804dd12df0501515225
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 60df96a68fa24581ca2b3fe2cf8778fdd8730792..bf1724aeec6b55d0f52aa554c832e6169777a031 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 \