summaryrefslogtreecommitdiff
path: root/digital/avr/make/Makefile.avr
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/make/Makefile.avr')
-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)