mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Added more platform support (Odroid C2 & PPC added)
This commit is contained in:
parent
73f0a8810d
commit
dc87e78e65
26
Makefile
26
Makefile
@ -167,6 +167,8 @@ CONFIG_PLATFORM_NV_TK1_UBUNTU = n
|
|||||||
CONFIG_PLATFORM_RTL8197D = n
|
CONFIG_PLATFORM_RTL8197D = n
|
||||||
CONFIG_PLATFORM_AML_S905 = n
|
CONFIG_PLATFORM_AML_S905 = n
|
||||||
CONFIG_PLATFORM_ZTE_ZX296716 = n
|
CONFIG_PLATFORM_ZTE_ZX296716 = n
|
||||||
|
CONFIG_PLATFORM_ARM_ODROIDC2 = n
|
||||||
|
CONFIG_PLATFORM_PPC = n
|
||||||
########### CUSTOMER ################################
|
########### CUSTOMER ################################
|
||||||
CONFIG_CUSTOMER_HUAWEI_GENERAL = n
|
CONFIG_CUSTOMER_HUAWEI_GENERAL = n
|
||||||
|
|
||||||
@ -1149,7 +1151,7 @@ EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
|||||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;")
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER := $(shell uname -r)
|
KVER := $(shell uname -r)
|
||||||
@ -1181,6 +1183,28 @@ 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_PPC), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
||||||
|
SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/)
|
||||||
|
ARCH ?= $(SUBARCH)
|
||||||
|
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_NV_TK1), y)
|
ifeq ($(CONFIG_PLATFORM_NV_TK1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.6.4.2~20191111"
|
PACKAGE_VERSION="5.6.4.2~20191113"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
Loading…
Reference in New Issue
Block a user