[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_stm32f2
DEFS = -DSTM32F2
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd
FP_FLAGS ?= -msoft-float
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 $(FP_FLAGS) -mfix-cortex-m3-ldrd
################################################################################