Makefile.include: don't override DEFS

Allow examples (such as usart-semihosting) to set DEFS for their own use,
and _then_ add the target definitions.
This commit is contained in:
Andrew Chen
2015-12-07 12:15:33 +13:00
committed by Karl Palsson
parent 070e5bbb94
commit 2314635cf0
13 changed files with 14 additions and 14 deletions

View File

@@ -20,7 +20,7 @@
##
LIBNAME = opencm3_stm32f4
DEFS = -DSTM32F4
DEFS += -DSTM32F4
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 $(FP_FLAGS)