From 8631a81c2bbce258ba3cd458246ac0f208e6f2e6 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Tue, 26 Sep 2017 17:51:40 +0200 Subject: [PATCH] Added ARM64 Support * Added support for ARM64 (such as Odroid C2 +++) --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index ad7b0b7..0a67f28 100755 --- a/Makefile +++ b/Makefile @@ -139,6 +139,7 @@ CONFIG_PLATFORM_RTK119X = n CONFIG_PLATFORM_RTK129X = n CONFIG_PLATFORM_NOVATEK_NT72668 = n CONFIG_PLATFORM_HISILICON = n +CONFIG_PLATFORM_ARM64 = n ############################################################### CONFIG_DRVEXT_MODULE = n @@ -1771,6 +1772,17 @@ 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 +ARCH ?= arm64 +CROSS_COMPILE ?= +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)