From 113856baa78d368f08f1f58c8c814620be4c9f29 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 7 Jan 2019 20:29:24 -0600 Subject: [PATCH] rtl8188eu: Fix Makefile to wouk with ARM Reported on GitHub by Roger. If the command 'uname -m' returns "arm.l", it needs to be truncated to "arm". Signed-off-by: Larry Finger --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f6754bb..0ac4db8 100755 --- a/Makefile +++ b/Makefile @@ -398,8 +398,7 @@ endif EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 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/) +SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/) ARCH ?= $(SUBARCH) CROSS_COMPILE ?= KVER := $(shell uname -r)