mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 05:53:41 +00:00
rtl8188eu: Allow use of KERNEL_SRC variable when defined
By this way I can compile this module in both environment (KERNEL_SRC / KSRC) Signed-off-by: Matteo Facchinetti <matteo.facchinetti@sirius-es.it>
This commit is contained in:
parent
979baf93cd
commit
7fd7c18fa9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -99,7 +99,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/net/wireless
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
|
||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue