summarylogtreecommitdiffstats
path: root/dkms-kernel-version.diff
blob: 6e8a441822d1a2447e9f2d3293a2ea4fd132ac99 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-gpib-kernel-4.3.4.orig/Makefile	2019-08-23 11:30:28.000000000 +0300
+++ linux-gpib-kernel-4.3.4/Makefile	2019-09-08 11:26:09.384478185 +0300
@@ -1,7 +1,7 @@
 # Makefile
 
 GPIB_SRCDIR ?= $(CURDIR)
-LINUX_SRCDIR ?= /lib/modules/`uname -r`/build
+LINUX_SRCDIR ?= /lib/modules/$(LINUX_VERSION)/build
 VERBOSE ?= 0
 GPIB_DEBUG ?= 0