mirror of
https://github.com/gnab/rtl8812au
synced 2025-01-09 10:01:35 +00:00
Add the PPC platform
Tested on a Mac Mini G4 running Ubuntu 16.04.4 LTS, kernel version 4.4.0-119-powerpc-smp
This commit is contained in:
parent
3e450d16d9
commit
3bd7269873
12
Makefile
12
Makefile
@ -84,6 +84,7 @@ CONFIG_PLATFORM_ARM_SUNxI = n
|
|||||||
CONFIG_PLATFORM_ARM_SUN6I = n
|
CONFIG_PLATFORM_ARM_SUN6I = n
|
||||||
CONFIG_PLATFORM_ACTIONS_ATM702X = n
|
CONFIG_PLATFORM_ACTIONS_ATM702X = n
|
||||||
CONFIG_PLATFORM_ACTIONS_ATV5201 = n
|
CONFIG_PLATFORM_ACTIONS_ATV5201 = n
|
||||||
|
CONFIG_PLATFORM_PPC = n
|
||||||
|
|
||||||
CONFIG_DRVEXT_MODULE = n
|
CONFIG_DRVEXT_MODULE = n
|
||||||
|
|
||||||
@ -971,6 +972,17 @@ KVER := $(KERNEL_VER)
|
|||||||
KSRC:= $(CFGDIR)/../../kernel/linux-$(KERNEL_VER)
|
KSRC:= $(CFGDIR)/../../kernel/linux-$(KERNEL_VER)
|
||||||
endif
|
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_MULTIDRV), y)
|
ifeq ($(CONFIG_MULTIDRV), y)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user