From fd6c97ef99c7d1e1ebf91b345ba6bed097d0f677 Mon Sep 17 00:00:00 2001 From: Celeste Liu Date: Tue, 11 Oct 2022 22:54:45 +0800 Subject: [PATCH] rtl8188eu: fix SUBARCH on riscv64 Signed-off-by: Celeste Liu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c1a5573..fe76acc 100755 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 EXTRA_CFLAGS += -DRTW_USE_CFG80211_STA_EVENT -SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;") +SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/arm/; s/aarch64/arm64/; s/riscv.*/riscv/;") ARCH ?= $(SUBARCH) CROSS_COMPILE ?= KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r))