From e05a68ee1aa51a46557a5a39ab469515539876bb Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 24 Nov 2018 12:15:45 -0600 Subject: [PATCH] rtl8188eu: Fix Makefile to work with powerpc as well as x86 Signed-off-by: Larry Finger --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28f46b7..f6754bb 100755 --- a/Makefile +++ b/Makefile @@ -397,16 +397,15 @@ endif EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 -ifeq ($(CONFIG_PLATFORM_I386_PC), y) EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT SUBARCH := $(shell uname -m | sed -e s/i.86/i386/) +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)