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