mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-09 23:57:00 +00:00
Update Makefile to fix building on ppc
Updated makefile to fix building on ppc32 platforms; note that build will still fail because of an unresolved kernel bug from 2008 (https://bugzilla.kernel.org/show_bug.cgi?id=11143), workaround is to comment out the lines that read "KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o" in your kernel headers' arch/powerpc/Makefile
This commit is contained in:
parent
37e27f9165
commit
f123ff312d
1
Makefile
1
Makefile
@ -1190,6 +1190,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_PPC), y)
|
ifeq ($(CONFIG_PLATFORM_PPC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/)
|
SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
|
Loading…
Reference in New Issue
Block a user