[-]
[+]
|
Added |
open-vm-tools-2008.08.08-kver.patch
|
@@ -0,0 +1,75 @@
+--- modules/linux/vmblock/Makefile
++++ modules/linux/vmblock/Makefile
+@@ -26,10 +26,10 @@
+ ####
+ SRCROOT = .
+
+-VM_UNAME = $(shell uname -r)
++VM_UNAME = $(shell uname -i)
+
+ # Header directory for the running kernel
+-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
++HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
+
+ BUILD_DIR = $(HEADER_DIR)/..
+
+--- modules/linux/vmhgfs/Makefile
++++ modules/linux/vmhgfs/Makefile
+@@ -26,10 +26,10 @@
+ ####
+ SRCROOT = .
+
+-VM_UNAME = $(shell uname -r)
++VM_UNAME = $(shell uname -i)
+
+ # Header directory for the running kernel
+-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
++HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
+
+ BUILD_DIR = $(HEADER_DIR)/..
+
+--- modules/linux/vmmemctl/Makefile
++++ modules/linux/vmmemctl/Makefile
+@@ -26,10 +26,10 @@
+ ####
+ SRCROOT = .
+
+-VM_UNAME = $(shell uname -r)
++VM_UNAME = $(shell uname -i)
+
+ # Header directory for the running kernel
+-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
++HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
+
+ BUILD_DIR = $(HEADER_DIR)/..
+
+--- modules/linux/vmsync/Makefile
++++ modules/linux/vmsync/Makefile
+@@ -26,10 +26,10 @@
+ ####
+ SRCROOT = .
+
+-VM_UNAME = $(shell uname -r)
++VM_UNAME = $(shell uname -i)
+
+ # Header directory for the running kernel
+-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
++HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
+
+ BUILD_DIR = $(HEADER_DIR)/..
+
+--- modules/linux/vmxnet/Makefile
++++ modules/linux/vmxnet/Makefile
+@@ -26,10 +26,10 @@
+ ####
+ SRCROOT = .
+
+-VM_UNAME = $(shell uname -r)
++VM_UNAME = $(shell uname -i)
+
+ # Header directory for the running kernel
+-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
++HEADER_DIR = /usr/src/linux-obj/$(VM_UNAME)/default/include
+
+ BUILD_DIR = $(HEADER_DIR)/..
+
|