diff --git a/Makefile b/Makefile index 83a57b2..95fb97a 100755 --- a/Makefile +++ b/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)