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:
parent
b6c538d908
commit
23368c91c2
4
Makefile
4
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user