From a9fd3ff0b95b45ea419c701448270a061b28c570 Mon Sep 17 00:00:00 2001 From: Andreas Auras Date: Fri, 12 Nov 2010 13:58:23 +0100 Subject: Migrate avr-size call to newer avr suite --- usb_boot/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usb_boot') diff --git a/usb_boot/Makefile b/usb_boot/Makefile index db3beb5..81e7e8e 100644 --- a/usb_boot/Makefile +++ b/usb_boot/Makefile @@ -57,6 +57,10 @@ HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature HEX_EEPROM_FLAGS = -j .eeprom HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" +## AVR size flags +#AVR_SIZE_FLAGS ?= -C --mcu=${MCU} +AVR_SIZE_FLAGS ?= --format=sysv + ## Include Directories INCLUDES = -I. -I.. -I$(USBDRV) @@ -98,7 +102,7 @@ $(TARGET): $(OBJECTS) size: ${TARGET} @echo - @avr-size -C --mcu=${MCU} ${TARGET} + @avr-size ${AVR_SIZE_FLAGS} ${TARGET} ## Clean target .PHONY: clean -- cgit v1.2.3