summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-02 00:15:46 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-02 00:15:46 +0000
commit52afe161bcc7bf61bfabca2d8748efc1eb1b8c55 (patch)
tree034046f64c970611d09d6369d9e4da13ff952350
parentconvert linux-2.4/gcc-4 check to gcc-4+ (diff)
downloadhistorical-52afe161bcc7bf61bfabca2d8748efc1eb1b8c55.tar.gz
historical-52afe161bcc7bf61bfabca2d8748efc1eb1b8c55.tar.bz2
historical-52afe161bcc7bf61bfabca2d8748efc1eb1b8c55.zip
simplify SLOT for cross-compiling ... this was a hold over from long ago when i tried doing cross-compiler packages in the same CATEGORY and only differentiate by SLOT (which portage hates a lot when $P is the same)
-rw-r--r--eclass/kernel-2.eclass8
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 080bcc4f894d..366e5b3b4d25 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.264 2011/12/01 23:34:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.265 2011/12/02 00:15:46 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -504,11 +504,7 @@ elif [[ ${ETYPE} == headers ]]; then
# lets unset it here.
unset KBUILD_OUTPUT
- if [[ ${CTARGET} = ${CHOST} ]]; then
- SLOT="0"
- else
- SLOT="${CTARGET}"
- fi
+ SLOT="0"
else
eerror "Unknown ETYPE=\"${ETYPE}\", must be \"sources\" or \"headers\""
die "Unknown ETYPE=\"${ETYPE}\", must be \"sources\" or \"headers\""