From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: [PATCH] restore previous KERNELDIR behavior Date: Sun, 11 Feb 2007 19:33:26 +0200 Message-ID: <20070211173326.GC3513@rhun.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Pelle To: kvm-devel Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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 and Pelle Signed-off-by: Muli Ben-Yehuda Index: configure =================================================================== --- configure (revision 4414) +++ configure (working copy) @@ -94,7 +94,7 @@ cat < config.mak PREFIX=$prefix -KERNELDIR=$(readlink -f $kerneldir) +KERNELDIR="$kerneldir" WANT_MODULE=$want_module EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642