mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
Add platform support for Nvidia Jetson Nano
This commit is contained in:
parent
ac911b45c8
commit
b9d50acaa2
12
Makefile
12
Makefile
@ -107,6 +107,7 @@ CONFIG_MP_VHT_HW_TX_MODE = y
|
|||||||
CONFIG_PLATFORM_I386_PC = y
|
CONFIG_PLATFORM_I386_PC = y
|
||||||
CONFIG_PLATFORM_ARM_RPI = n
|
CONFIG_PLATFORM_ARM_RPI = n
|
||||||
CONFIG_PLATFORM_ARM64_RPI = n
|
CONFIG_PLATFORM_ARM64_RPI = n
|
||||||
|
CONFIG_PLATFORM_ARM_JET_NANO = y
|
||||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||||
CONFIG_PLATFORM_JB_X86 = n
|
CONFIG_PLATFORM_JB_X86 = n
|
||||||
@ -1184,6 +1185,17 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
|||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# NVidia Jetson Nano
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM_JET_NANO), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
ARCH := arm64
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KSRC := /usr/src/linux-headers-$(KVER)-ubuntu18.04_aarch64/kernel-4.9
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/realtek/rtl8812au/
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_ODROIDC2), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_ODROIDC2), 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
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.6.4.2~20191114"
|
PACKAGE_VERSION="5.6.4.2~20191116"
|
||||||
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