Issue 108 fixed

This commit is contained in:
bsongis
2012-08-26 20:47:03 +00:00
parent 0c20942573
commit 2bd7cfae95
+3 -1
View File
@@ -709,7 +709,9 @@ end:
ifeq ($(PCB), ARM)
ELFSIZE = $(SIZE) $(TARGET).elf
else
ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf
MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
FORMAT_FLAG = $(shell $(SIZE) --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf
endif
sizebefore: