summaryrefslogtreecommitdiff
blob: 9259a3e12bf24c390255282bf0461bb9273b8ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index b8a0652..79f60e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 USER  := $(shell whoami)
-KVER ?= $(shell uname -r)
-KDIR ?= /lib/modules/$(KVER)/build
+KVER ?= $(KV_FULL)
+KDIR ?= ${KERNEL_DIR}
 
 all: build