Thanks for the analysis, this problem is understood. Avi commited a
fix for -14 a few days back, but the fix re-breaks
--kerneldir. Reenabling --kerneldir is simple - see attached patch -
but since this is obviously a fragile area, I decided not to push for
its inclusion. Maybe I'm the sole --kerneldir user :-)

Index: kernel/Makefile
===================================================================
--- kernel/Makefile     (revision 4457)
+++ kernel/Makefile     (working copy)
@@ -1,4 +1,5 @@
-KERNELDIR := /lib/modules/$(shell uname -r)/build
+include ../config.mak
+
 KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
 
 DESTDIR=
Index: configure
===================================================================
--- configure   (revision 4457)
+++ configure   (working copy)
@@ -94,7 +94,7 @@
 
 cat <<EOF > config.mak
 PREFIX=$prefix
-KERNELDIR=$(readlink -f $kerneldir)
+KERNELDIR="$kerneldir"
 WANT_MODULE=$want_module
 EOF
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to