Commit 0ce66c30 authored by Vaibhav Gupta's avatar Vaibhav Gupta

driver: zio: Makefile: Rename variable 'LINUX' to 'KERNELSRC'

Variable name 'LINUX' is very ambiguous for its purpose in the makefile.
Also, this project builds as a part of COHT project which uses another
variable name 'KERNELSRC' for the same purpose. Hence, this change makes
this project uniform with others.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent b3efa9f9
......@@ -8,7 +8,7 @@ REPO_PARENT ?= $(shell pwd)/../../..
-include $(REPO_PARENT)/parent_common.mk
KVERSION ?= $(shell uname -r)
LINUX ?= /lib/modules/$(KVERSION)/build
KERNELSRC ?= /lib/modules/$(KVERSION)/build
GIT_VERSION := $(shell git describe --dirty --long --tags | grep -o -E "[^v]*")
......@@ -31,4 +31,4 @@ export CONFIG_ZIO_TRIGGERS
all: modules
modules coccicheck modules_install clean:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) $@
$(MAKE) -C $(KERNELSRC) M=$(shell /bin/pwd) $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment