aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/DFU/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-19 18:37:22 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-19 18:37:22 +0000
commit4fe45268ee8e60dfcf4daba4736b2406a58204c8 (patch)
treecb05a02ad225b632d2d345da362687c9d199061a /Bootloaders/DFU/makefile
parent5583b44ec0c295a36a05130490acf1acc613862c (diff)
Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1669 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/DFU/makefile')
-rw-r--r--Bootloaders/DFU/makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index ce97b58d..d77933b6 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -51,6 +51,10 @@
MCU = at90usb1287
+# Target architecture (see library "Board Types" documentation).
+ARCH = AVR8
+
+
# Target board (see library "Board Types" documentation, NONE for projects not requiring
# LUFA board drivers). If USER is selected, put custom board drivers in a directory called
# "Board" inside the application directory.
@@ -182,7 +186,7 @@ CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
CDEFS += -DF_CLOCK=$(F_CLOCK)UL
-CDEFS += -DBOARD=BOARD_$(BOARD)
+CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CDEFS += $(LUFA_OPTS)