summarylogtreecommitdiffstats
path: root/vmnet.patch
blob: d2c620705ca37c836f4e83ebd4900728157f3469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/vmnet/Makefile b/vmnet/Makefile
index 459846e..cd29652 100644
--- a/vmnet/Makefile
+++ b/vmnet/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