From 52afe161bcc7bf61bfabca2d8748efc1eb1b8c55 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 2 Dec 2011 00:15:46 +0000 Subject: [PATCH] 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) --- eclass/kernel-2.eclass | 8 ++------ 1 file 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\"" -- 2.26.2