1
0
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:
Ice-IX 2022-03-22 02:03:42 -04:00 committed by GitHub
parent 37e27f9165
commit f123ff312d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ?=