mirror of
https://github.com/gnab/rtl8812au
synced 2024-11-22 13:24:47 +00:00
Added raspberry x64 arch
Tested and working for my Raspberry Pi 4B Need to share this now
This commit is contained in:
parent
8e3caba10f
commit
2132a119e0
10
Makefile
10
Makefile
@ -61,6 +61,7 @@ CONFIG_PLATFORM_ARM_S3C2K4 = n
|
||||
CONFIG_PLATFORM_ARM_PXA2XX = n
|
||||
CONFIG_PLATFORM_ARM_S3C6K4 = n
|
||||
CONFIG_PLATFORM_ARM_RPI = n
|
||||
CONFIG_PLATFORM_ARM_RPI_64 = n
|
||||
CONFIG_PLATFORM_MIPS_RMI = n
|
||||
CONFIG_PLATFORM_RTD2880B = n
|
||||
CONFIG_PLATFORM_MIPS_AR9132 = n
|
||||
@ -746,6 +747,15 @@ KSRC ?= /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ARM_RPI_64), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
ARCH := arm64
|
||||
CROSS_COMPILE :=
|
||||
KVER ?= $(shell uname -r)
|
||||
KSRC ?= /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
|
||||
ARCH:=
|
||||
|
Loading…
Reference in New Issue
Block a user