summarylogtreecommitdiffstats
path: root/vmmon.patch
blob: d69f3135cb1b5c40aa06a06d5942385e470392f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/vmmon/Makefile b/vmmon/Makefile
index de8162e..6124a71 100644
--- a/vmmon/Makefile
+++ b/vmmon/Makefile
@@ -43,7 +43,11 @@ INCLUDE      += -I$(SRCROOT)/shared
 endif
 
 
+ifdef KVERSION
+VM_UNAME = $(KVERSION)
+else
 VM_UNAME = $(shell uname -r)
+endif
 
 # Header directory for the running kernel
 ifdef LINUXINCLUDE