summaryrefslogtreecommitdiff
path: root/firmware/Makefile.dfu
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 23:30:35 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 23:30:35 +0000
commit23d2398121fe650462c9ad912d900e5d418257c7 (patch)
tree090c69ccd9ca792bfb152b9420e31d092b0890f9 /firmware/Makefile.dfu
parent41423de5864e325663f76cc9336f8d0ba68a3c83 (diff)
build DFU with correct definitions for PICC
git-svn-id: https://svn.openpcd.org:2342/trunk@230 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r--firmware/Makefile.dfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/Makefile.dfu b/firmware/Makefile.dfu
index 42d7bb1..3bec426 100644
--- a/firmware/Makefile.dfu
+++ b/firmware/Makefile.dfu
@@ -197,7 +197,7 @@ ADEFS += -D__$(SUBMDL)__
# -adhlns...: create assembler listing
#
# Flags for C and C++ (arm-elf-gcc/arm-elf-g++)
-CFLAGS = -g$(DEBUGF) -DBOARD=PCD -DPCD
+CFLAGS += -g$(DEBUGF) -DBOARD=$(BOARD)
CFLAGS += $(CDEFS) $(CINCS)
CFLAGS += -O$(OPT)
CFLAGS += -Wall -Wextra -Wcast-align -Wimplicit -Wunused
personal git repositories of Harald Welte. Your mileage may vary