summarylogtreecommitdiffstats
path: root/vmmon.patch
blob: f2e32d6d02704b686d296da973c1d3e67d291a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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