rtl8188eu: Change definition of KSRC in Makefile

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2022-08-29 10:04:39 -05:00
parent e488450b36
commit 8f5cee5861

View file

@ -343,7 +343,7 @@ SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc.*/powerpc/; s/armv.l/a
ARCH ?= $(SUBARCH) ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= CROSS_COMPILE ?=
KVER ?= $(if $(KERNELRELEASE),$(KERNELRELEASE),$(shell uname -r)) 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/ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/staging/r8188eu/
INSTALL_PREFIX := INSTALL_PREFIX :=