mirror of
https://github.com/chinawrj/rtl8812au
synced 2025-01-08 17:46:31 +00:00
Makefile: add configuration option for ODROID-C2
This commit is contained in:
parent
a4a4d044c2
commit
2b93cdb2cf
14
Makefile
14
Makefile
@ -152,6 +152,7 @@ CONFIG_PLATFORM_NOVATEK_NT72668 = n
|
|||||||
CONFIG_PLATFORM_HISILICON = n
|
CONFIG_PLATFORM_HISILICON = n
|
||||||
CONFIG_PLATFORM_NV_TK1 = n
|
CONFIG_PLATFORM_NV_TK1 = n
|
||||||
CONFIG_PLATFORM_RTL8197D = n
|
CONFIG_PLATFORM_RTL8197D = n
|
||||||
|
CONFIG_PLATFORM_ARM_ODROIDC2 = n
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
||||||
CONFIG_DRVEXT_MODULE = n
|
CONFIG_DRVEXT_MODULE = n
|
||||||
@ -1739,7 +1740,7 @@ ARCH := arm
|
|||||||
CROSS_COMPILE := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
|
CROSS_COMPILE := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
|
||||||
KSRC := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/kernel
|
KSRC := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/kernel
|
||||||
MODULE_NAME := wlan
|
MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_RTL8197D), y)
|
ifeq ($(CONFIG_PLATFORM_RTL8197D), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTL8197D
|
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTL8197D
|
||||||
@ -1749,6 +1750,17 @@ CROSS_COMPILE:= $(DIR_LINUX)/../toolchain/rsdk-1.5.5-5281-EB-2.6.30-0.9.30.3-110
|
|||||||
KSRC := $(DIR_LINUX)
|
KSRC := $(DIR_LINUX)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM_ODROIDC2), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
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_MULTIDRV), y)
|
||||||
|
|
||||||
ifeq ($(CONFIG_SDIO_HCI), y)
|
ifeq ($(CONFIG_SDIO_HCI), y)
|
||||||
|
Loading…
Reference in New Issue
Block a user