summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-04 17:17:54 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-04 17:17:54 +0000
commitd64f4ace6462298d196389160bf7c27caf81c2df (patch)
treef954277cfd15daf18dffd5cbac942e9a6e3819bd /eclass/toolchain.eclass
parentUse einfo, not elog for doc hint #253704 by Todd Walton. (diff)
downloadgentoo-2-d64f4ace6462298d196389160bf7c27caf81c2df.tar.gz
gentoo-2-d64f4ace6462298d196389160bf7c27caf81c2df.tar.bz2
gentoo-2-d64f4ace6462298d196389160bf7c27caf81c2df.zip
revert arm sed junk ... this needs to be a patch, not sed in the toolchain.eclass
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass13
1 files changed, 1 insertions, 12 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index a4eeaca777e0..6425ef44326b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.374 2009/01/02 00:09:43 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.375 2009/01/04 17:17:54 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1056,15 +1056,6 @@ do_gcc_rename_java_bins() {
die "Failed to fixup file ${jfile} for rename to grmic"
done
}
-unbreak_arm() {
- [[ ${CTARGET} == *eabi* ]] || return
- [[ ${CTARGET} == arm* ]] || return
- [[ ${CTARGET} == armv5* ]] && return
- [[ -e "${S}"/gcc/config/arm/linux-eabi.h ]] || return
- #armv4tl can do ebai as well. http://www.nabble.com/Re:--crosstool-ng--ARM-EABI-problem-p17164547.html
- #http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
- sed -i -e s/'define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi'/'define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi'/g "${S}"/gcc/config/arm/linux-eabi.h
-}
gcc_src_unpack() {
export BRANDING_GCC_PKGVERSION="Gentoo ${GCC_PVR}"
@@ -1148,8 +1139,6 @@ gcc_src_unpack() {
do_gcc_rename_java_bins
fi
- unbreak_arm
-
# Fixup libtool to correctly generate .la files with portage
cd "${S}"
elibtoolize --portage --shallow --no-uclibc