mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2025-01-03 21:04:05 +00:00
Add rpi3, based on 5.3.4 makefile
including support for CONFIG_MP_VHT_HW_TX_MODE
This commit is contained in:
parent
13456a8af1
commit
43f8cd2c73
15
Makefile
15
Makefile
@ -163,6 +163,7 @@ CONFIG_PLATFORM_ARM_LGE = n
|
||||
CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
|
||||
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
|
||||
CONFIG_PLATFORM_ARM_WMT = n
|
||||
CONFIG_PLATFORM_ARM_RPI = n
|
||||
CONFIG_PLATFORM_ARM64_RPI = n
|
||||
CONFIG_PLATFORM_TI_DM365 = n
|
||||
CONFIG_PLATFORM_MOZART = n
|
||||
@ -1253,6 +1254,9 @@ 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
|
||||
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
|
||||
EXTRA_CFLAGS += -mfloat-abi=hard
|
||||
@ -1988,6 +1992,17 @@ KSRC := /home/android_sdk/WonderMedia/wm8880-android4.4/kernel4.4/
|
||||
MODULE_NAME :=8189es_kk
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
ARCH ?= arm
|
||||
CROSS_COMPILE ?=
|
||||
KVER ?= $(shell uname -r)
|
||||
KSRC := /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
INSTALL_PREFIX :=
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ARM64_RPI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DRTW_USE_CFG80211_STA_EVENT
|
||||
|
Loading…
Reference in New Issue
Block a user