Merge pull request #765 from ejoerns/pull-req/avr-asflags

[avr] Add mcu parameter to ASFLAGS
This commit is contained in:
Nicolas Tsiftes 2014-12-02 19:16:14 +01:00
commit 9e7927e415

View File

@ -99,6 +99,7 @@ CFLAGSNO = -Wall -mmcu=$(MCU) -gdwarf-2 -fno-strict-aliasing \
-I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \ -I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \
$(CONTIKI_PLAT_DEFS) $(CONTIKI_PLAT_DEFS)
CFLAGS += $(CFLAGSNO) -O$(OPTI) CFLAGS += $(CFLAGSNO) -O$(OPTI)
ASFLAGS += -mmcu=$(MCU)
ifndef BOOTLOADER_START ifndef BOOTLOADER_START
BOOTLOADER_START = 0x1F800 BOOTLOADER_START = 0x1F800
endif endif