restore previous KERNELDIR behavior
PATCH RESEND 1/1 restore previous KERNELDIR behavior
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 <[email protected]> and Pelle <[email protected]>
configure +1 -1
@@ -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