diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-17 07:35:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-17 07:35:54 +0000 |
commit | 654d93249803a12d386f9bbf9ffbd33dcbb7fcad (patch) | |
tree | fd73167e7ca716cf25da0d21d1cdcb020fed292b /eclass/toolchain-binutils.eclass | |
parent | Fix typos in ChangeLog. Oops. (diff) | |
download | historical-654d93249803a12d386f9bbf9ffbd33dcbb7fcad.tar.gz historical-654d93249803a12d386f9bbf9ffbd33dcbb7fcad.tar.bz2 historical-654d93249803a12d386f9bbf9ffbd33dcbb7fcad.zip |
setup a better default src_unpack so binutils ebuilds dont have to do anything
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 61639fd2dab8..65b1be620211 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.34 2005/04/12 04:32:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.35 2005/04/17 07:35:54 vapier Exp $ # We install binutils into CTARGET-VERSION specific directories. This lets # us easily merge multiple versions for multiple targets (if we wish) and @@ -50,13 +50,13 @@ MY_BUILDDIR=${WORKDIR}/build is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -toolchain-binutils_src_unpack() { +tc-binutils_unpack() { unpack ${A} mkdir -p "${MY_BUILDDIR}" [[ -d ${WORKDIR}/patch ]] && mkdir "${WORKDIR}"/patch/skip } -apply_binutils_updates() { +tc-binutils_apply_patches() { cd "${S}" [[ -n ${PATCHVER} ]] && epatch "${WORKDIR}"/patch @@ -81,6 +81,11 @@ apply_binutils_updates() { strip-linguas -i */po } +toolchain-binutils_src_unpack() { + tc-binutils_unpack + tc-binutils_apply_patches +} + toolchain-binutils_src_compile() { strip-flags && replace-flags -O3 -O2 #47581 |