mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-15 02:16:08 +00:00
Fix error on arm builds
This commit is contained in:
parent
64e7aaa565
commit
71baec244c
8
Makefile
8
Makefile
@ -2130,14 +2130,6 @@ EXTRA_CFLAGS += -DMARK_KERNEL_PFU
|
|||||||
else ifeq ($(ARCH), x86_64)
|
else ifeq ($(ARCH), x86_64)
|
||||||
EXTRA_CFLAGS += -mhard-float
|
EXTRA_CFLAGS += -mhard-float
|
||||||
EXTRA_CFLAGS += -DMARK_KERNEL_PFU
|
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
|
endif
|
||||||
|
|
||||||
########### CUSTOMER ################################
|
########### CUSTOMER ################################
|
||||||
|
Loading…
Reference in New Issue
Block a user