mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
Added RPI platform support
This commit is contained in:
parent
b5c73903c5
commit
bb495b0bb6
15
Makefile
15
Makefile
@ -36,7 +36,7 @@ CONFIG_AUTOCFG_CP = n
|
|||||||
CONFIG_MULTIDRV = n
|
CONFIG_MULTIDRV = n
|
||||||
CONFIG_RTL8188E = n
|
CONFIG_RTL8188E = n
|
||||||
CONFIG_RTL8812A = y
|
CONFIG_RTL8812A = y
|
||||||
CONFIG_RTL8821A = n
|
CONFIG_RTL8821A = y
|
||||||
CONFIG_RTL8192E = n
|
CONFIG_RTL8192E = n
|
||||||
CONFIG_RTL8723B = n
|
CONFIG_RTL8723B = n
|
||||||
CONFIG_RTL8814A = n
|
CONFIG_RTL8814A = n
|
||||||
@ -113,6 +113,7 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
|||||||
CONFIG_MP_VHT_HW_TX_MODE = n
|
CONFIG_MP_VHT_HW_TX_MODE = n
|
||||||
###################### Platform Related #######################
|
###################### Platform Related #######################
|
||||||
CONFIG_PLATFORM_I386_PC = y
|
CONFIG_PLATFORM_I386_PC = y
|
||||||
|
CONFIG_PLATFORM_ARM_RPI = n
|
||||||
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
|
||||||
@ -1048,6 +1049,17 @@ INSTALL_PREFIX :=
|
|||||||
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
ARCH ?= arm
|
||||||
|
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
|
||||||
@ -1964,4 +1976,3 @@ clean:
|
|||||||
rm -fr .tmp_versions
|
rm -fr .tmp_versions
|
||||||
rm -fr .cache.mk
|
rm -fr .cache.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user