diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-08-11 13:32:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-08-11 13:32:35 +0000 |
commit | d99eaa11be287bcc367c2e114e8ed0401f56938f (patch) | |
tree | 0b19552c3eae472da2a06e46827ae60422431f9b /eclass/toolchain-binutils.eclass | |
parent | Stable for amd64 wrt bug #517092 (diff) | |
download | historical-d99eaa11be287bcc367c2e114e8ed0401f56938f.tar.gz historical-d99eaa11be287bcc367c2e114e8ed0401f56938f.tar.bz2 historical-d99eaa11be287bcc367c2e114e8ed0401f56938f.zip |
drop FAKE_TARGETS support #467488
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 22 |
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} |