summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/make
diff options
context:
space:
mode:
authorNicolas Schodet2013-03-18 20:07:09 +0100
committerNicolas Schodet2013-03-18 21:54:25 +0100
commit18d49b357a315d77e417d4a5c3942ec0d22997b8 (patch)
tree502be9acce31ea828ecb7adbf5b0e16bd94bd6c1 /digital/avr/make
parentb39a44b59839b7636b603cf2bd9559a218923599 (diff)
digital/avr: small hacks to use AVR modules on ARM
Diffstat (limited to 'digital/avr/make')
-rw-r--r--digital/avr/make/Makefile.avr2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/avr/make/Makefile.avr b/digital/avr/make/Makefile.avr
index 73ec6a2a..9547fd21 100644
--- a/digital/avr/make/Makefile.avr
+++ b/digital/avr/make/Makefile.avr
@@ -4,7 +4,7 @@
AVR_CFLAGS := $(CFLAGS) -mmcu=$(AVR_MCU)
AVR_ASFLAGS := $(ASFLAGS) -mmcu=$(AVR_MCU)
-AVR_CPPFLAGS := $(CPPFLAGS) $(AVR_DEFS)
+AVR_CPPFLAGS := $(CPPFLAGS) $(AVR_DEFS) -DTARGET_avr=1
AVR_LDFLAGS := $(LDFLAGS)
AVR_LDLIBS := $(LDLIBS) $(AVR_LIBS)