summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-27 01:08:59 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-27 01:08:59 +0000
commit9c1cf8c81b775570e27c4004684aec9fa5159329 (patch)
tree0503ac4926647b24bcf4e2640224685191e6f8af /sys-devel/crossdev
parent+sys-libs/uclibc:savedconfig (diff)
downloadgentoo-2-9c1cf8c81b775570e27c4004684aec9fa5159329.tar.gz
gentoo-2-9c1cf8c81b775570e27c4004684aec9fa5159329.tar.bz2
gentoo-2-9c1cf8c81b775570e27c4004684aec9fa5159329.zip
add support for cris
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-xsys-devel/crossdev/files/crossdev10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index a57f976e33f6..e6c352314aeb 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# 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.47 2006/01/23 22:35:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.48 2006/01/27 01:08:59 vapier Exp $
cd /
@@ -66,6 +66,7 @@ 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";;
bfin*|nios2*) CPOST="elf";;
@@ -113,6 +114,10 @@ parse_target() {
LPKG="uclibc";
STAGE=${STAGE_C_KERNEL};;
+ cris*)
+ TARCH=${HARCH};
+ LPKG="uclibc";;
+
msp430)
TARCH=${HARCH}; CPOST="";
STAGE=${STAGE_BINUTILS};;
@@ -121,7 +126,8 @@ parse_target() {
TARCH=${HARCH};
BPKG="binutils-nios2";
GPKG="gcc-nios2";
- STAGE=${STAGE_C_ONLY};;
+ LPKG="uclibc";
+ STAGE=${STAGE_C_KERNEL};;
ps2*) einfo "The ps2 target is really an alias for the ee/iop/dvp targets"
${CROSSDEV} -t ee || exit 1