public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix detection of kernel source directory
@ 2009-06-03 12:59 James Pike
  2009-06-08  8:31 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: James Pike @ 2009-06-03 12:59 UTC (permalink / raw)
  To: kvm

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]

Fix detection of kernel source directory when it is different to build
directory.
Signed-off-by: James Pike <james@chilon.net>

[-- Attachment #2: kvm-kmod-86-configure.patch --]
[-- Type: text/plain, Size: 376 bytes --]

diff --git a/configure b/configure
index e01ba98..c3b7a5f 100755
--- a/configure
+++ b/configure
@@ -91,7 +91,7 @@ arch=${arch%%-*}
 
 # see if we have split build and source directories
 if [ -d "$kerneldir/include2" ]; then
-    kernelsourcedir=${kerneldir%/*}/source
+    kernelsourcedir=`readlink -f $kerneldir/source`
 fi
 
 if [ -n "$no_uname" -a "$want_module" ]; then

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-15 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 12:59 [PATCH] fix detection of kernel source directory James Pike
2009-06-08  8:31 ` Jan Kiszka
2009-06-08  8:49   ` Avi Kivity
2009-08-15 22:24     ` James Pike

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