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:
committed by
Karl Palsson
parent
070e5bbb94
commit
2314635cf0
@@ -19,7 +19,7 @@
|
||||
##
|
||||
|
||||
LIBNAME = opencm3_stm32f0
|
||||
DEFS = -DSTM32F0
|
||||
DEFS += -DSTM32F0
|
||||
|
||||
FP_FLAGS ?= -msoft-float
|
||||
ARCH_FLAGS = -mthumb -mcpu=cortex-m0 $(FP_FLAGS)
|
||||
@@ -41,4 +41,4 @@ BMP_PORT ?=
|
||||
#STLINK_PORT ?= :4242
|
||||
|
||||
|
||||
include ../../../../Makefile.rules
|
||||
include ../../../../Makefile.rules
|
||||
|
||||
Reference in New Issue
Block a user