public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend #1] restore previous KERNELDIR behavior
@ 2007-02-14  3:47 Muli Ben-Yehuda
  0 siblings, 0 replies; only message in thread
From: Muli Ben-Yehuda @ 2007-02-14  3:47 UTC (permalink / raw)
  To: kvm-devel

My patch to fix the --kerneldir option to configure caused a subtle
change in behavior when --kerneldir wasn't specified. Previously,
kernel/Makefile would set KERNELDIR to /lib/modules/xxx. The fix
caused it to be set to $(readlink -f /lib/modules/xxx) (via
config.mak). Normally this wouldn't have made any difference, a
symlink and what it points to are synonymous, but various places rely
on KERNELDIR being of the form /lib/modules/xxx for pattern
substitution. Switch back to the old behavior.

This should fix the issue reported by Omar Khan <okhan-e94Sedi4moU@public.gmane.org> and
Pelle <Pelle-5JapdU7xTciEVqv0pETR8A@public.gmane.org>

Signed-off-by: Muli Ben-Yehuda <muli-7z/5BgaJwgfQT0dZR+AlfA@public.gmane.org>

Index: configure
===================================================================
--- configure	(revision 4414)
+++ 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

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

only message in thread, other threads:[~2007-02-14  3:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14  3:47 [PATCH resend #1] restore previous KERNELDIR behavior Muli Ben-Yehuda

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