Added ARM64 Support

* Added support for ARM64 (such as Odroid C2 +++)
This commit is contained in:
Christian kimocoder 2017-09-26 17:51:40 +02:00 committed by GitHub
parent 4282ab4189
commit 8631a81c2b

View File

@ -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)