mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-09 23:57:00 +00:00
issue #768: don't apply ARM options to ARM64
This commit is contained in:
parent
e9fbf5c051
commit
3325543154
26
Makefile
26
Makefile
@ -1118,16 +1118,6 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_MP_VHT_HW_TX_MODE), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
|
||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||
## For I386 X86 ToolChain use Hardware FLOATING
|
||||
EXTRA_CFLAGS += -mhard-float
|
||||
EXTRA_CFLAGS += -DMARK_KERNEL_PFU
|
||||
else
|
||||
## For ARM ToolChain use Hardware FLOATING
|
||||
# Raspbian kernel is with soft-float.
|
||||
# 'softfp' allows FP instructions, but no FP on function call interfaces
|
||||
EXTRA_CFLAGS += -mfloat-abi=softfp
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_APPEND_VENDOR_IE_ENABLE), y)
|
||||
@ -2134,6 +2124,22 @@ endif
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH), i386)
|
||||
EXTRA_CFLAGS += -mhard-float
|
||||
EXTRA_CFLAGS += -DMARK_KERNEL_PFU
|
||||
else ifeq ($(ARCH), x86_64)
|
||||
EXTRA_CFLAGS += -mhard-float
|
||||
EXTRA_CFLAGS += -DMARK_KERNEL_PFU
|
||||
else ifeq ($(ARCH), arm)
|
||||
# Raspbian kernel is with soft-float.
|
||||
# 'softfp' allows FP instructions, but no FP on function call interfaces
|
||||
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
|
||||
EXTRA_CFLAGS += -mfloat-abi=softfp
|
||||
else
|
||||
EXTRA_CFLAGS += -mfloat-abi=hard
|
||||
endif
|
||||
endif
|
||||
|
||||
########### CUSTOMER ################################
|
||||
ifeq ($(CONFIG_CUSTOMER_HUAWEI_GENERAL), y)
|
||||
CONFIG_CUSTOMER_HUAWEI = y
|
||||
|
Loading…
Reference in New Issue
Block a user