public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-modules/files: 1.0.0.20-makefile-kernel-dir.patch
@ 2008-06-18  9:18 Mike Auty (ikelos)
  0 siblings, 0 replies; only message in thread
From: Mike Auty (ikelos) @ 2008-06-18  9:18 UTC (permalink / raw
  To: gentoo-commits

ikelos      08/06/18 09:18:04

  Added:                1.0.0.20-makefile-kernel-dir.patch
  Log:
  Fix kernel build directories (bug 227941).
  (Portage version: 2.2_pre8/cvs/Linux 2.6.25-gentoo-r4 i686)

Revision  Changes    Path
1.1                  app-emulation/vmware-modules/files/1.0.0.20-makefile-kernel-dir.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-modules/files/1.0.0.20-makefile-kernel-dir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-modules/files/1.0.0.20-makefile-kernel-dir.patch?rev=1.1&content-type=text/plain

Index: 1.0.0.20-makefile-kernel-dir.patch
===================================================================
diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
index e7d18b5..02e2cf3 100644
--- a/vmblock-only/Makefile
+++ b/vmblock-only/Makefile
@@ -14,9 +14,9 @@ SRCROOT = .
 VM_UNAME = $(shell uname -r)
 
 # Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR) 
 
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
 
 DRIVER := vmblock
 
diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
index 1707ffc..165da0a 100644
--- a/vmmon-only/Makefile
+++ b/vmmon-only/Makefile
@@ -14,9 +14,9 @@ SRCROOT = .
 VM_UNAME = $(shell uname -r)
 
 # Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
 
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
 
 DRIVER := vmmon
 
diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
index cd24c8c..a085f96 100644
--- a/vmnet-only/Makefile
+++ b/vmnet-only/Makefile
@@ -14,9 +14,9 @@ SRCROOT = .
 VM_UNAME = $(shell uname -r)
 
 # Header directory for the running kernel
-HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
+HEADER_DIR = $(KERNEL_DIR)
 
-BUILD_DIR = $(HEADER_DIR)/..
+BUILD_DIR = $(KBUILD_OUTPUT)
 
 DRIVER := vmnet
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-18  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18  9:18 [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-modules/files: 1.0.0.20-makefile-kernel-dir.patch Mike Auty (ikelos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox