diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-02 21:21:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-02 21:21:40 +0000 |
commit | 9f35d2ce8f79ea0ff26dad82274a70322bcfc3cc (patch) | |
tree | c8011d4099da86640beb6b5f0f4cb700ba006bfc /sys-devel | |
parent | x86 stable (diff) | |
download | historical-9f35d2ce8f79ea0ff26dad82274a70322bcfc3cc.tar.gz historical-9f35d2ce8f79ea0ff26dad82274a70322bcfc3cc.tar.bz2 historical-9f35d2ce8f79ea0ff26dad82274a70322bcfc3cc.zip |
Add support for nios2/bfin embedded targets and update help output to include information about softfloat toolchains.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/crossdev/ChangeLog | 11 | ||||
-rw-r--r-- | sys-devel/crossdev/Manifest | 14 | ||||
-rw-r--r-- | sys-devel/crossdev/crossdev-0.9.11.ebuild (renamed from sys-devel/crossdev/crossdev-0.9.10.ebuild) | 4 | ||||
-rwxr-xr-x | sys-devel/crossdev/files/crossdev | 67 | ||||
-rw-r--r-- | sys-devel/crossdev/files/digest-crossdev-0.9.11 (renamed from sys-devel/crossdev/files/digest-crossdev-0.9.10) | 0 |
5 files changed, 60 insertions, 36 deletions
diff --git a/sys-devel/crossdev/ChangeLog b/sys-devel/crossdev/ChangeLog index a60b36f7ca8c..56f97018bbb8 100644 --- a/sys-devel/crossdev/ChangeLog +++ b/sys-devel/crossdev/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/crossdev -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.26 2005/11/18 04:02:33 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.27 2006/01/02 21:21:40 vapier Exp $ + +*crossdev-0.9.11 (02 Jan 2006) + + 02 Jan 2006; Mike Frysinger <vapier@gentoo.org> files/crossdev, + -crossdev-0.9.10.ebuild, +crossdev-0.9.11.ebuild: + Add support for nios2/bfin embedded targets and update help output to + include information about softfloat toolchains. *crossdev-0.9.10 (18 Nov 2005) diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest index 3537275a78a3..1df76d088cc7 100644 --- a/sys-devel/crossdev/Manifest +++ b/sys-devel/crossdev/Manifest @@ -1,15 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 1e4889f5a0724f8e3336c8fe46ba7061 ChangeLog 5677 -MD5 6f298398bc8f1ae76ceb2e5e2602f706 crossdev-0.9.10.ebuild 594 -MD5 b9ab69efcb0d1987ac6c935886e6ada9 files/crossdev 14735 -MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.10 0 +MD5 0aad5f05db53f3be7a8dbe11953cb749 ChangeLog 5950 +MD5 597650064febfce3a7fb32372c0486c2 crossdev-0.9.11.ebuild 594 +MD5 6b46bf2e7c9b674f94d8470bebb26d63 files/crossdev 15678 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.11 0 MD5 e91cdaf464f515f3528da02cf06e54a1 metadata.xml 222 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDfVKwgIKl8Uu19MoRAgJXAJ9fQXXNZ6eN21B3f7ZXNDpBsESxPQCeO6x+ -YixBN9k0qkT7IePdA8pFUm8= -=Zkxo +iD8DBQFDuZmZ2+ySkm8kpY0RAqn1AKCfYHhlSfdJukpylXqXRkaGkdCBhQCdESZP +AWE9PTN21wxYAnI/vKrY6VU= +=KrRR -----END PGP SIGNATURE----- diff --git a/sys-devel/crossdev/crossdev-0.9.10.ebuild b/sys-devel/crossdev/crossdev-0.9.11.ebuild index be631384a57d..46890c1a3930 100644 --- a/sys-devel/crossdev/crossdev-0.9.10.ebuild +++ b/sys-devel/crossdev/crossdev-0.9.11.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.10.ebuild,v 1.1 2005/11/18 04:02:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.11.ebuild,v 1.1 2006/01/02 21:21:40 vapier Exp $ DESCRIPTION="Gentoo Cross-toolchain generator" HOMEPAGE="http://www.gentoo.org/" diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index cacae17a6e4a..bcc9ba5b446b 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -1,7 +1,7 @@ #!/bin/bash -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.41 2005/11/18 04:02:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.42 2006/01/02 21:21:40 vapier Exp $ cd / @@ -22,6 +22,8 @@ die() { } usage() { + local exit_status=${1:-0} + shift cat << EOF Usage: ${HILITE}crossdev${NORMAL} ${GOOD}[options]${NORMAL} ${BRACKET}--target TARGET${NORMAL} @@ -46,7 +48,8 @@ Extra Fun (must be run after above stages): ${BRACKET}Target (-t)${NORMAL}: takes the form: ${BRACKET}ARCH-VENDOR-OS-LIBC${NORMAL} Run 'crossdev -t help' for examples EOF - exit ${1:-0} + [[ -n $* ]] && echo && eerror "Error: $*" + exit ${exit_status} } STAGE_BINUTILS=0 STAGE_C_ONLY=1 @@ -63,8 +66,9 @@ parse_target() { if [[ ${CTARGET/-} == ${CTARGET} || -z ${CPOST} ]] ; then case ${CPRE} in x86|i?86*|amd64|x86_64*) CPOST="pc-linux-gnu";; - s390*) CPOST="ibm-linux-gnu";; - *) CPOST="unknown-linux-gnu";; + s390*) CPOST="ibm-linux-gnu";; + bfin*|nios2*) CPOST="elf";; + *) CPOST="unknown-linux-gnu";; esac fi @@ -95,16 +99,28 @@ parse_target() { ##################### ### other targets ### - avr*) TARCH=${HARCH}; CPOST=""; + avr*) TARCH=${HARCH}; CPOST="1"; KPKG="[none]"; STAGE=${STAGE_LIBC}; LCAT="dev-embedded"; LPKG="avr-libc"; GVER="3.4.4-r1"; BVER="2.16.1"; GUSE="-fortran -gtk -gcj -objc";; + bfin*) + TARCH=${HARCH}; + BPKG="binutils-bfin"; + GPKG="gcc-bfin"; + STAGE=${STAGE_C_ONLY};; + msp430) TARCH=${HARCH}; CPOST=""; STAGE=${STAGE_BINUTILS};; + nios2*) + TARCH=${HARCH}; + BPKG="binutils-nios2"; + GPKG="gcc-nios2"; + STAGE=${STAGE_C_ONLY};; + ps2*) einfo "The ps2 target is really an alias for the ee/iop/dvp targets" ${CROSSDEV} -t ee || exit 1 ${CROSSDEV} -t iop || exit 1 @@ -128,33 +144,34 @@ parse_target() { help) cat <<-EOF Supported Architectures: - alpha - arm / armeb - hppa (parisc) - ia64 - i386 / i486 / i586 / i686 (x86) - m68k - mips / mipsel / mips64 / mips64el - powerpc (ppc) / powerpc64 (ppc64) - sparc / sparc64 - s390 / s390x - sh / sh[1-5] / sh64 - x86_64 (amd64) + - alpha - arm / armeb + - hppa (parisc) - ia64 + - i386 / i486 / i586 / i686 (x86) - m68k + - mips / mipsel / mips64 / mips64el + - powerpc (ppc) / powerpc64 (ppc64) + - sparc / sparc64 - s390 / s390x + - sh / sh[1-5] / sh64 - x86_64 (amd64) Supported C Libraries: - gnu (glibc) - klibc [prob wont work] - uclibc [not all arches are ported] + - gnu (glibc) + - klibc [prob wont work] + - uclibc [not all arches are ported] Special Targets: - avr - msp430 - ee / iop / dvp (ps2) [Playstation 2 targets] + - avr http://www.nongnu.org/avr-libc/ + - bfin http://blackfin.uclinux.org/ + - msp430 http://mspgcc.sourceforge.net/ + - nios2 http://www.altera.com/products/ip/processors/nios2/ni2-index.html + - ee / iop / dvp (ps2) [Playstation 2 targets] + Softfloat toolchains: + Set the 'vendor' field to 'softfloat' + e.g. armeb-softfloat-linux-uclibc + powerpc-softfloat-linux-gnu EOF exit 0 ;; ####################### ### unknown targets ### - *) usage 1;; + *) usage 1 "Unknown target '$1'; bug vapier@gentoo.org to add it" ;; esac CTARGET=${CPRE} diff --git a/sys-devel/crossdev/files/digest-crossdev-0.9.10 b/sys-devel/crossdev/files/digest-crossdev-0.9.11 index e69de29bb2d1..e69de29bb2d1 100644 --- a/sys-devel/crossdev/files/digest-crossdev-0.9.10 +++ b/sys-devel/crossdev/files/digest-crossdev-0.9.11 |