diff options
-rw-r--r-- | eclass/toolchain-binutils.eclass | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index aa056ae2b1ab..cbb77bb437f6 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.108 2011/12/21 21:44:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.109 2012/02/05 02:33:43 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> # @@ -21,6 +21,7 @@ else 99999999) BTYPE="cvs";; 9999) BTYPE="git";; 9999_pre*) BTYPE="snap";; + *.*.*.*.*) BTYPE="hjlu";; *) BTYPE="rel";; esac fi @@ -63,13 +64,9 @@ HOMEPAGE="http://sources.redhat.com/binutils/" case ${BTYPE} in cvs|git) SRC_URI="" ;; - snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2";; - rel) - SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2 - mirror://kernel/linux/devel/binutils/test/binutils-${BVER}.tar.bz2 - mirror://gnu/binutils/binutils-${BVER}.tar.bz2" - # disable kernel mirrors until kernel.org is back up #383579 - SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" + snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;; + hjlu) SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2" ;; + rel) SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" ;; esac add_src_uri() { [[ -z $2 ]] && return |