Fixup for the -mhard-float and -mfloat-abi=softfp RPI tags

This commit is contained in:
kimocoder 2019-11-11 19:20:18 +01:00
parent b6c538d908
commit 23368c91c2

View File

@ -1124,6 +1124,9 @@ ifeq ($(CONFIG_PLATFORM_I386_PC), y)
## For I386 X86 ToolChain use Hardware FLOATING
EXTRA_CFLAGS += -mhard-float
EXTRA_CFLAGS += -DMARK_KERNEL_PFU
else ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
## For Rpi3: use hardware floating, but not on the api
EXTRA_CFLAGS += -mfloat-abi=softfp
else
## For ARM ToolChain use Hardware FLOATING
# Raspbian kernel is with soft-float.
@ -1156,7 +1159,6 @@ INSTALL_PREFIX :=
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
endif
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT