1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00

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 ## For I386 X86 ToolChain use Hardware FLOATING
EXTRA_CFLAGS += -mhard-float EXTRA_CFLAGS += -mhard-float
EXTRA_CFLAGS += -DMARK_KERNEL_PFU 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 else
## For ARM ToolChain use Hardware FLOATING ## For ARM ToolChain use Hardware FLOATING
# Raspbian kernel is with soft-float. # Raspbian kernel is with soft-float.
@ -1156,7 +1159,6 @@ INSTALL_PREFIX :=
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
endif endif
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y) ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT