mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
Makefile: add configuration option for ODROID-C2
This commit is contained in:
parent
ca6ba8ef08
commit
8e6ebdc46c
12
Makefile
12
Makefile
@ -144,6 +144,7 @@ CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
|
|||||||
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
|
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
|
||||||
CONFIG_PLATFORM_ARM_WMT = n
|
CONFIG_PLATFORM_ARM_WMT = n
|
||||||
CONFIG_PLATFORM_ARM_RPI = n
|
CONFIG_PLATFORM_ARM_RPI = n
|
||||||
|
CONFIG_PLATFORM_ARM_ODROIDC2 = n
|
||||||
CONFIG_PLATFORM_TI_DM365 = n
|
CONFIG_PLATFORM_TI_DM365 = n
|
||||||
CONFIG_PLATFORM_MOZART = n
|
CONFIG_PLATFORM_MOZART = n
|
||||||
CONFIG_PLATFORM_RTK119X = n
|
CONFIG_PLATFORM_RTK119X = n
|
||||||
@ -1737,6 +1738,17 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
|||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
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_PLATFORM_RTK129X), y)
|
ifeq ($(CONFIG_PLATFORM_RTK129X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
EXTRA_CFLAGS += -DRTK_129X_PLATFORM
|
EXTRA_CFLAGS += -DRTK_129X_PLATFORM
|
||||||
|
Loading…
Reference in New Issue
Block a user