From 8f5cee58613286dce0db7c62633cbb33d243e02c Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 29 Aug 2022 10:04:39 -0500 Subject: [PATCH] rtl8188eu: Change definition of KSRC in Makefile Signed-off-by: Larry Finger --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1c17d84..c1a5573 100755 --- a/Makefile +++ b/Makefile @@ -343,7 +343,7 @@ SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/a ARCH ?= $(SUBARCH) CROSS_COMPILE ?= KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r)) -KSRC := /lib/modules/$(KVER)/build +KSRC ?= $(if $(KERNEL_SRC),$(KERNEL_SRC),/lib/modules/$(KVER)/build) MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/staging/r8188eu/ INSTALL_PREFIX :=