[BUILD] Allow to override FP_FLAGS in make as specified in libopencm3 README

This commit is contained in:
Frantisek Burian
2014-01-09 07:33:11 +01:00
parent 94ddb178eb
commit ffe9376c55
11 changed files with 22 additions and 11 deletions

View File

@@ -22,7 +22,8 @@
LIBNAME = opencm3_lm4f
DEFS = -DLM4F
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 $(FP_FLAGS)
################################################################################
# OpenOCD specific variables