From 1112eced93ed5ba83af31a258cd1fb149399ef1e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 10 Feb 2007 04:46:15 +0000 Subject: [PATCH] add support for xc16x Package-Manager: portage-2.1.2-r9 --- sys-devel/crossdev/Manifest | 14 +++++++------- sys-devel/crossdev/files/crossdev | 11 ++++++++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest index 57537bea07cd..0f8eac823094 100644 --- a/sys-devel/crossdev/Manifest +++ b/sys-devel/crossdev/Manifest @@ -1,10 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX crossdev 18164 RMD160 4f0c838f475cbb4cf4925fd31c9f908397e013ec SHA1 faeed7c63f93f76753739076bf53eab6b43595ee SHA256 15b66c04c5c7552e1992e1a858b7f08aa44698f8f0b10009fcc24897cadde9a8 -MD5 48f7af1189a28b1474b329624d874a40 files/crossdev 18164 -RMD160 4f0c838f475cbb4cf4925fd31c9f908397e013ec files/crossdev 18164 -SHA256 15b66c04c5c7552e1992e1a858b7f08aa44698f8f0b10009fcc24897cadde9a8 files/crossdev 18164 +AUX crossdev 18224 RMD160 e07ca4ca2b58967f1296db3ff95bfdd3faf0e2ba SHA1 df49941e6438d5622e7dcab487746137383f2175 SHA256 40012f6d05167aafb8e3b86a05c65c44ec5e8f301fa317cdab49b0846a071f43 +MD5 faff301432f0f2098bc5b0ffe2c5d470 files/crossdev 18224 +RMD160 e07ca4ca2b58967f1296db3ff95bfdd3faf0e2ba files/crossdev 18224 +SHA256 40012f6d05167aafb8e3b86a05c65c44ec5e8f301fa317cdab49b0846a071f43 files/crossdev 18224 EBUILD crossdev-0.9.17-r2.ebuild 611 RMD160 2c2e92951b07751782fbec9161f6bbc83d3b012b SHA1 e359890e4117bd9e369e6a6a8eb80cc4fcaa79ee SHA256 e08f3910c23bf2984e3e787624c538544801791fdd48ff01c5b8b8ed5fc66bfe MD5 991cea7a3105ae8478a2897d885de009 crossdev-0.9.17-r2.ebuild 611 RMD160 2c2e92951b07751782fbec9161f6bbc83d3b012b crossdev-0.9.17-r2.ebuild 611 @@ -23,7 +23,7 @@ SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFzTmC8bi6rjpTunYRAsjEAJ9pL5W+WCKM3/6IZP21LIdQAhzMtACeLb0c -i64bumBGUtagx5b1JXQ3wTQ= -=x8op +iD8DBQFFzU4l8bi6rjpTunYRAm88AJ985KnvG9hHfsq3gq2Q0RbiVStIdgCgk9gH +rl2BGoezRZI/gAi5lBU8jeg= +=sHaR -----END PGP SIGNATURE----- diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index f70bc5a13d76..6c42450163fd 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2007 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.85 2007/02/10 03:18:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.86 2007/02/10 04:46:15 vapier Exp $ cd / umask 0022 #159111 @@ -67,10 +67,10 @@ parse_target() { # Did they give us just an ARCH or the full TARGET ? if [[ ${CTARGET/-} == ${CTARGET} || -z ${CPOST} ]] ; then case ${CPRE} in - cris*) CPOST="axis-linux-gnu";; x86|i?86*|amd64|x86_64*) CPOST="pc-linux-gnu";; s390*) CPOST="ibm-linux-gnu";; - h8300*|bfin*|nios2*|spu*)CPOST="elf";; + bfin*|h8300*|nios2*|spu*|xc16x*) + CPOST="elf";; *) CPOST="unknown-linux-gnu";; esac fi @@ -139,6 +139,10 @@ parse_target() { vax*) TARCH=${HARCH}; LPKG="uclibc";; + xc16x*) + TARCH=${HARCH}; + LPKG="newlib";; + cell*)einfo "The cell target is really an alias for the spu/ppu targets" ${CROSSDEV} -t ppu || exit 1 ${CROSSDEV} -t spu-elf || exit 1 @@ -190,6 +194,7 @@ parse_target() { - mingw32 http://www.mingw.org/ - msp430 http://mspgcc.sourceforge.net/ - nios2 http://www.altera.com/products/ip/processors/nios2/ni2-index.html + - xc16x http://www.infineon.com/ - ee / iop / dvp (ps2) [Playstation 2 targets] - ppu / spu (cell) [Cell/Playstation 3 targets] Softfloat toolchains: -- 2.26.2