summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-08-11 13:32:35 +0000
committerMike Frysinger <vapier@gentoo.org>2014-08-11 13:32:35 +0000
commit56dc15fdfb9e7594a8eb9034a2eb575009a6f844 (patch)
tree130665adb3237061368f5b9121c7c36a4fc70038 /eclass
parentStable for amd64 wrt bug #517092 (diff)
downloadgentoo-2-56dc15fdfb9e7594a8eb9034a2eb575009a6f844.tar.gz
gentoo-2-56dc15fdfb9e7594a8eb9034a2eb575009a6f844.tar.bz2
gentoo-2-56dc15fdfb9e7594a8eb9034a2eb575009a6f844.zip
drop FAKE_TARGETS support #467488
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass22
1 files changed, 1 insertions, 21 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index fb9330eb110c..49be70f91224 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.134 2014/08/11 13:32:35 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -431,32 +431,12 @@ toolchain-binutils_src_install() {
newdoc README README.elf2flt
fi
- # Now, some binutils are tricky and actually provide
- # for multiple TARGETS. Really, we're talking just
- # 32bit/64bit support (like mips/ppc/sparc). Here
- # we want to tell binutils-config that it's cool if
- # it generates multiple sets of binutil symlinks.
- # e.g. sparc gets {sparc,sparc64}-unknown-linux-gnu
- local targ=${CTARGET/-*} src="" dst=""
- local FAKE_TARGETS=${CTARGET}
- case ${targ} in
- mips*) src="mips" dst="mips64";;
- powerpc*) src="powerpc" dst="powerpc64";;
- s390*) src="s390" dst="s390x";;
- sparc*) src="sparc" dst="sparc64";;
- esac
- case ${targ} in
- mips64*|powerpc64*|s390x*|sparc64*) targ=${src} src=${dst} dst=${targ};;
- esac
- [[ -n ${src}${dst} ]] && FAKE_TARGETS="${FAKE_TARGETS} ${CTARGET/${src}/${dst}}"
-
# Generate an env.d entry for this binutils
insinto /etc/env.d/binutils
cat <<-EOF > "${T}"/env.d
TARGET="${CTARGET}"
VER="${BVER}"
LIBPATH="${EPREFIX}${LIBPATH}"
- FAKE_TARGETS="${FAKE_TARGETS}"
EOF
newins "${T}"/env.d ${CTARGET}-${BVER}