Hi,

I have compile my kernel with make O=./HOST, and when building kvm with
./configure --kerneldir=/lib/modules/2.6.27.8/build/ it fails because
of the trailing /

This patch corrects it:

--- configure.orig      2008-12-08 16:42:05.000000000 +0100
+++ configure   2008-12-08 16:43:57.000000000 +0100
@@ -109,7 +109,7 @@

 # see if we have split build and source directories
 if [ -d "$kerneldir/include2" ]; then
-    kernelsourcedir=${kerneldir%/*}/source
+    kernelsourcedir=${kerneldir%/build*}/source
 fi

 #configure user dir
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to