summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-31 21:53:35 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-31 21:53:35 +0000
commita2c37177e8d1639c620750ce263f15a370bf961c (patch)
tree023bb9e972cf22378567b24718a142b874b4fca2 /defines.mk
parentcleanup (diff)
fixed lib for chips without bootloader function... (more workaround than fix)
git-svn-id: https://svn.spreadspace.org/avr/trunk@54 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/defines.mk b/defines.mk
index 8cb5cfc..890e03c 100644
--- a/defines.mk
+++ b/defines.mk
@@ -149,6 +149,7 @@ CFLAGS += -Wstrict-prototypes
CFLAGS += -I$(LIB_DIR)
CFLAGS += -DF_CPU=$(F_CPU)UL
CFLAGS += -D__BOARD_$(BOARD_TYPE)__
+CFLAGS += -DARCH=ARCH_$(ARCH)
CFLAGS += -std=c99