Merge pull request #43 from arutk/fix_make_install
Fix setting KERNEL_VERSION in modules makefile
This commit is contained in:
commit
488fd7eb6d
@ -20,7 +20,7 @@ VERSION_FILE=$(PWD)/CAS_VERSION
|
||||
OCFDIR=$(PWD)/../ocf
|
||||
KERNEL_DIR ?= "/lib/modules/$(shell uname -r)/build"
|
||||
PWD=$(shell pwd)
|
||||
KERNEL_VERSION := $(cd $KERNEL_DIR; make kernelversion)
|
||||
KERNEL_VERSION := $(shell $(MAKE) -C $(KERNEL_DIR) --no-print-directory kernelversion)
|
||||
MODULES_DIR=/lib/modules/$(KERNEL_VERSION)/extra
|
||||
|
||||
DISK_MODULE = cas_disk
|
||||
|
Loading…
Reference in New Issue
Block a user