summaryrefslogtreecommitdiffstats
path: root/driver/Makefile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-08-18 07:02:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-08-18 07:02:32 +0200
commite256f2f50cc579a89e8b9460e192097e99e36ccb (patch)
treef8114bf94cf122658b072dcc709d0b8e1182e599 /driver/Makefile
parentc8fe6103fa27308822592a8c3e7dc883fd299c3a (diff)
downloadpcitool-e256f2f50cc579a89e8b9460e192097e99e36ccb.tar.gz
pcitool-e256f2f50cc579a89e8b9460e192097e99e36ccb.tar.bz2
pcitool-e256f2f50cc579a89e8b9460e192097e99e36ccb.tar.xz
pcitool-e256f2f50cc579a89e8b9460e192097e99e36ccb.zip
Add support for kernel 4.1
Diffstat (limited to 'driver/Makefile')
-rw-r--r--driver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/Makefile b/driver/Makefile
index e353228..3a242dd 100644
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -3,7 +3,7 @@ obj-m := pciDriver.o
pciDriver-objs := base.o int.o umem.o kmem.o sysfs.o ioctl.o
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
-INSTALLDIR ?= /lib/modules/$(shell uname -r)/extra
+INSTALLDIR ?= /lib/modules/$(shell uname -r)/kernel/extra
PWD := $(shell pwd)
EXTRA_CFLAGS += -I$(M)/..