blob: 974780a575611d6e6e0fd4fba3af9e05e20875b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild,v 1.4 2006/09/11 05:32:44 vapier Exp $
[[ ${CTARGET} != nios* && ${CATEGORY} == "sys-devel" ]] && export CTARGET="nios2-elf"
GCC_A_FAKEIT=${A}
TOOLCHAIN_ALLOWED_LANGS="c"
ETYPE="gcc-compiler"
SPLIT_SPECS=false
TOOLCHAIN_GCC_PV=3.4.1
inherit toolchain eutils
DESCRIPTION="Compiler for Nios2 targets"
# http://www.altera.com/support/kdb/2000/11/rd11272000_7307.html
SRC_URI="mirror://gentoo/niosii-gnutools-src-${PV}.tgz
mirror://gentoo/nios2-${PV}.patch.bz2"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
DEPEND="${CATEGORY}/binutils-nios2"
S=${WORKDIR}/src/gcc
src_unpack() {
toolchain_src_unpack
cd "${WORKDIR}"/src
epatch "${DISTDIR}"/nios2-${PV}.patch.bz2
}
|