summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2006-02-26 17:14:36 +0000
committerJohn Mylchreest <johnm@gentoo.org>2006-02-26 17:14:36 +0000
commit92b7995f20471a03e7076d726d2dee38751eb62e (patch)
treef11ac56b93b9ef8c8b5243e820fdeb1362f7913b /eclass
parentRemoved 0.94; Marked 0.96 stable on sparc, x86, and mips. (diff)
downloadhistorical-92b7995f20471a03e7076d726d2dee38751eb62e.tar.gz
historical-92b7995f20471a03e7076d726d2dee38751eb62e.tar.bz2
historical-92b7995f20471a03e7076d726d2dee38751eb62e.zip
Fixes bug #113614, thanks go to: Max Loparyev & Ben Peddell
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index a6114e2c5012..abe7634e9c91 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.159 2006/02/17 22:18:20 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.160 2006/02/26 17:14:36 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -326,6 +326,11 @@ unpack_2_6() {
env_setup_xmakeopts
cd "${S}"
+
+ # since KBUILD_OUTPUT should only be used on the active kernel
+ # sources, we should unset it here.
+ [[ -n "${KBUILD_OUTPUT}" ]] && unset KBUILD_OUTPUT
+
# this file is required for other things to build properly, so we
# autogenerate it ... touch .config to keep version.h build from
# spitting out an annoying warning
@@ -419,7 +424,7 @@ compile_headers() {
compile_manpages() {
einfo "Making manpages ..."
- env -u ARCH make mandocs
+ env -u ARCH -u KBUILD_OUTPUT make mandocs
}
# install functions