From e8b915a586ce07941c35a2b8bb8c6695217484cc Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 2 Mar 2021 11:23:59 -0600 Subject: [PATCH] rtl8188eu: Fix build for ARM64 Signed-off-by: Larry Finger --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ef0567..527b74e 100755 --- a/Makefile +++ b/Makefile @@ -400,7 +400,8 @@ endif EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 EXTRA_CFLAGS += -DRTW_USE_CFG80211_STA_EVENT -SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/) + +SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;") ARCH ?= $(SUBARCH) CROSS_COMPILE ?= KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r))