summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-10 04:46:15 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-10 04:46:15 +0000
commitca3159917c6829bd5d2b659e4b3fc17546099a6c (patch)
tree2c409d336581bbdcedd8e1ffbb92e1b0fa970928 /sys-devel
parentamd64 stable, bug 148322 (diff)
downloadgentoo-2-ca3159917c6829bd5d2b659e4b3fc17546099a6c.tar.gz
gentoo-2-ca3159917c6829bd5d2b659e4b3fc17546099a6c.tar.bz2
gentoo-2-ca3159917c6829bd5d2b659e4b3fc17546099a6c.zip
add support for xc16x
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/crossdev/files/crossdev11
1 files changed, 8 insertions, 3 deletions
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: