Added passthrough of FORCE_SOFT_FLOAT and FORCE_HARD_FLOAT Makefile options

arm_hard_float
Richard Campbell 2022-03-04 10:40:30 -08:00
parent 7bc3e90984
commit 9abcd8afe0
1 changed files with 12 additions and 0 deletions

View File

@ -35,6 +35,18 @@ ifeq ($(FREESTANDING),yes)
EXPORT_UNPREFIXED = no EXPORT_UNPREFIXED = no
endif endif
FORCE_SOFT_FLOAT := no
ifeq ($(FORCE_SOFT_FLOAT),yes)
CPPFLAGS += -DFORCE_SOFT_FLOAT
endif
FORCE_HARD_FLOAT := no
ifeq ($(FORCE_HARD_FLOAT),yes)
CPPFLAGS += -DFORCE_HARD_FLOAT
endif
ifeq ($(EXPORT_UNPREFIXED),yes) ifeq ($(EXPORT_UNPREFIXED),yes)
CPPFLAGS += -DEXPORT_UNPREFIXED CPPFLAGS += -DEXPORT_UNPREFIXED
endif endif