blob: d9051a478cd301b4bf5c1187c530b3fb113f9fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-nios2/binutils-nios2-5.1.ebuild,v 1.4 2006/04/11 00:17:19 vapier Exp $
[[ ${CTARGET} != nios* && ${CATEGORY} == "sys-devel" ]] && export CTARGET="nios2-elf"
BINUTILS_TYPE="custom"
BINUTILS_VER="2.15"
inherit toolchain-binutils
# http://www.altera.com/support/kdb/2000/11/rd11272000_7307.html
SRC_URI="mirror://gentoo/niosii-gnutools-src-${PV}.tgz"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
S=${WORKDIR}/src/binutils
src_unpack() {
tc-binutils_unpack
cd "${S}"
epatch "${FILESDIR}"/binutils-nios2-5.1-gcc4.patch
tc-binutils_apply_patches
}
|