Do not use KERNEL_DIR env var in Makefile.am
authorRichard Yao <ryao@cs.stonybrook.edu>
Sun, 16 Dec 2012 05:35:16 +0000 (00:35 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 17 Dec 2012 17:45:47 +0000 (09:45 -0800)
commitfd7fd5ebcf6cceb107dd27592a9bd7d60f93738f
tree21ec00c3e61e8710e4d8752da6ff3543cc4e058c
parent8780c53961e668211682d40ad36946294c3145d8
Do not use KERNEL_DIR env var in Makefile.am

A Gentoo user reported an issue where the build system would
attempt to recurse into the kernel source tree if KERNEL_DIR
is set in the environment. KERNEL_DIR is an environment variable
that is used when the kernel sources are in a non-standard
location, so it is necessary to stop relying on it to prevent
this issue.

https://bugs.gentoo.org/show_bug.cgi?id=433946

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Makefile.am