Prefer /lib/modules/$(uname -r)/ links
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Feb 2011 22:54:33 +0000 (14:54 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Feb 2011 22:54:33 +0000 (14:54 -0800)
commit1b94c25ceb12649b4b2ffb9a016e4f51cfa91736
tree761eeed38af4139e8316f62596c3f95db43c29a0
parentafffb5cd102f340f3879f4d7af8988dd209b9b72
Prefer /lib/modules/$(uname -r)/ links

Preferentially use the /lib/modules/$(uname -r)/source and
/lib/modules/$(uname -r)/build links.  Only if neither of these
links exist fallback to alternate methods for deducing which
kernel to build with.  This resolves the need to manually
specify --with-linux= and --with-linux-obj= on Debian systems.
config/kernel.m4
configure