Merge pull request #340 from matteofacchinetti/master

rtl8188eu: Allow use of KERNEL_SRC variable when defined
This commit is contained in:
lwfinger 2020-09-10 10:45:42 -05:00 committed by GitHub
commit c9280272bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,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/net/wireless
INSTALL_PREFIX :=