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