mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-25 14:44:09 +00:00
ARM64 Support
* Added ARM64 support compiling (such as Odroid-C2) * ARM64 compilation support with aarch64 toolchain
This commit is contained in:
parent
b94c0d375d
commit
a12606b08c
13
Makefile
13
Makefile
@ -129,6 +129,7 @@ CONFIG_PLATFORM_MOZART = n
|
||||
CONFIG_PLATFORM_RTK119X = n
|
||||
CONFIG_PLATFORM_NOVATEK_NT72668 = n
|
||||
CONFIG_PLATFORM_HISILICON = n
|
||||
CONFIG_PLATFORM_ARM64 = n
|
||||
###############################################################
|
||||
|
||||
CONFIG_DRVEXT_MODULE = n
|
||||
@ -1633,6 +1634,18 @@ KSRC := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_buil
|
||||
MODULE_NAME := wlan
|
||||
endif
|
||||
|
||||
# ARM64 - odroid-c2 and such
|
||||
ifeq ($(CONFIG_PLATFORM_ARM64), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
ARCH ?= arm64
|
||||
CROSS_COMPILE := aarch64-linux-gnu-
|
||||
KVER ?= $(shell uname -r)
|
||||
KSRC := /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
INSTALL_PREFIX :=
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MULTIDRV), y)
|
||||
|
||||
ifeq ($(CONFIG_SDIO_HCI), y)
|
||||
|
Loading…
Reference in New Issue
Block a user