From f123ff312d65951ddd7e483e7c3ad097abaacfdb Mon Sep 17 00:00:00 2001 From: Ice-IX <22827741+Ice-IX@users.noreply.github.com> Date: Tue, 22 Mar 2022 02:03:42 -0400 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9b6927b..9969c72 100755 --- a/Makefile +++ b/Makefile @@ -1190,6 +1190,7 @@ endif ifeq ($(CONFIG_PLATFORM_PPC), y) EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN +EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT SUBARCH := $(shell uname -m | sed -e s/ppc/powerpc/) ARCH ?= $(SUBARCH) CROSS_COMPILE ?=