summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-18 06:30:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-18 06:30:28 +0000
commita65c49f1a42d1462d9869ca56b9b4b6398cf1c53 (patch)
tree89fa01846fce3e353f6457de46d9bded05120bcb /sys-devel
parentarm big endian profile (diff)
downloadhistorical-a65c49f1a42d1462d9869ca56b9b4b6398cf1c53.tar.gz
historical-a65c49f1a42d1462d9869ca56b9b4b6398cf1c53.tar.bz2
historical-a65c49f1a42d1462d9869ca56b9b4b6398cf1c53.zip
Add some initial support for ps2 targets (ee/iop/dvp).
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/crossdev/ChangeLog11
-rw-r--r--sys-devel/crossdev/Manifest9
-rw-r--r--sys-devel/crossdev/crossdev-0.9.6.ebuild (renamed from sys-devel/crossdev/crossdev-0.9.5-r1.ebuild)2
-rwxr-xr-xsys-devel/crossdev/files/crossdev28
-rw-r--r--sys-devel/crossdev/files/crossdev-0.4-fixes-one.patch47
-rw-r--r--sys-devel/crossdev/files/digest-crossdev-0.9.6 (renamed from sys-devel/crossdev/files/digest-crossdev-0.9.5-r1)0
6 files changed, 38 insertions, 59 deletions
diff --git a/sys-devel/crossdev/ChangeLog b/sys-devel/crossdev/ChangeLog
index 9f459fe3da27..d70c0f2a7105 100644
--- a/sys-devel/crossdev/ChangeLog
+++ b/sys-devel/crossdev/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-devel/crossdev
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.15 2005/03/25 13:33:58 vapier Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.16 2005/04/18 06:30:28 vapier Exp $
+
+*crossdev-0.9.6 (18 Apr 2005)
+
+ 18 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+ -files/crossdev-0.4-fixes-one.patch, files/crossdev,
+ -crossdev-0.9.5-r1.ebuild, +crossdev-0.9.6.ebuild:
+ Add some initial support for ps2 targets (ee/iop/dvp).
*crossdev-0.9.5-r1 (25 Mar 2005)
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 494443032d0c..24864645ac24 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,6 +1,5 @@
-MD5 641f21a1e4e5d9b2485c18bb3c3382a6 ChangeLog 3162
+MD5 c52b6e83ea348ce3927192195545902b ChangeLog 3409
MD5 e91cdaf464f515f3528da02cf06e54a1 metadata.xml 222
-MD5 c0cf28d66474b3d795a4d574033be962 crossdev-0.9.5-r1.ebuild 557
-MD5 bbb032e270728ffb39276e95e5653b62 files/crossdev-0.4-fixes-one.patch 1675
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.5-r1 0
-MD5 274e3012c75485e0afbae3155bdff233 files/crossdev 9858
+MD5 91a5c4eb66aa731b648e2bc6e198b581 crossdev-0.9.6.ebuild 554
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.6 0
+MD5 c272394674b3065e4623a559b4912c11 files/crossdev 10409
diff --git a/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild b/sys-devel/crossdev/crossdev-0.9.6.ebuild
index 6f8bdb7f3716..0d807baf43b1 100644
--- a/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild
+++ b/sys-devel/crossdev/crossdev-0.9.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild,v 1.2 2005/04/05 00:55:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.6.ebuild,v 1.1 2005/04/18 06:30:28 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 af3bbaddb832..1b0d83524a63 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 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.19 2005/04/10 01:04:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.20 2005/04/18 06:30:28 vapier Exp $
if [[ ${ROOT:-/} != "/" ]] ; then
echo "Sorry, but crossdev does not support ROOT."
@@ -84,6 +84,22 @@ parse_target() {
LCAT="dev-embedded"; LPKG="avr-libc";
GUSE="-fortran -gtk nocxx -gcj -objc";;
+ 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
+ ${CROSSDEV} -t dvp || exit 1
+ exit 0;;
+ ee*) TARCH=${HARCH}; CPOST="";
+ KPKG="[none]"; BVER="2.14";
+ GUSE="-fortran -gtk -gcj -objc";;
+ iop*) TARCH=${HARCH}; CPOST="";
+ BVER="2.14";
+ STAGE="1";
+ GUSE="-fortran -gtk -gcj -objc";;
+ dvp*) TARCH=${HARCH}; CPOST="";
+ BVER="2.14";
+ STAGE="0";;
+
#######################
### unknown targets ###
*) usage 1;;
@@ -157,6 +173,7 @@ hr() {
##################
### setup vars ###
+CROSSDEV=$0
EOPTS=
UOPTS=
TARCH=
@@ -223,11 +240,14 @@ einfo "Target System: ${CTARGET}"
einfo "Stage: ${STAGE} (${STAGE_DISP[${STAGE}]})"
echo
einfo "binutils: ${BPKG}-${BVER}"
-is_s1 && \
+is_s1 && {
einfo "gcc: ${GPKG}-${GVER}"
-is_s2 && \
-einfo "headers: ${KPKG}-${KVER}" && \
+}
+is_s2 && {
+[[ ${KPKG} != "[none]" ]] && \
+einfo "headers: ${KPKG}-${KVER}"
einfo "libc: ${LPKG}-${LVER}"
+}
echo
einfo "PORTDIR_OVERLAY: ${PORTDIR_OVERLAY}"
einfo "PORT_LOGDIR: ${PORT_LOGDIR}"
diff --git a/sys-devel/crossdev/files/crossdev-0.4-fixes-one.patch b/sys-devel/crossdev/files/crossdev-0.4-fixes-one.patch
deleted file mode 100644
index f14b43493d15..000000000000
--- a/sys-devel/crossdev/files/crossdev-0.4-fixes-one.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Index: crossdev
-===================================================================
-RCS file: /home/cvsroot/gentoo/users/kumba/crossdev/crossdev,v
-retrieving revision 1.1
-retrieving revision 1.3
-diff -u -p -r1.1 -r1.3
---- crossdev.sh 19 Feb 2004 09:35:37 -0000 1.1
-+++ crossdev.sh 26 Feb 2004 08:03:52 -0000 1.3
-@@ -281,7 +282,7 @@ CheckSandbox() {
- ;;
- best_visible)
- export ACCEPT_KEYWORDS="$4"
-- eval "$1=$(${PORTAGEQ_LOC} $2 $3)"
-+ eval "$1=$(${PORTAGEQ_LOC} $2 $3 | tail -n 1)"
- unset ACCEPT_KEYWORDS
- ;;
- esac
-@@ -338,7 +339,7 @@ CheckSandbox() {
- ;;
- best_visible)
- export ACCEPT_KEYWORDS="$4"
-- eval "$1=$(${PORTAGEQ_LOC} $2 $3)"
-+ eval "$1=$(${PORTAGEQ_LOC} $2 $3 | tail -n 1)"
- unset ACCEPT_KEYWORDS
- ;;
- esac
-@@ -1355,6 +1356,9 @@ InstallGccBootstrap() {
-
- #// if .installed exists, skip, otherwise install
- if [ ! -f ".installed" ]; then
-+ #// Because we use /usr/headers for gcc, we sometimes get garbage headers we don't want.
-+ #// So we remove them.
-+ find gcc/include -type l -exec rm -f '{}' \;
- showInfo "Installing ${GCC_VER} (bootstrap)..."
- make install || showError "${func_name}: Failed to run 'make install'!"
- touch .installed
-@@ -1585,6 +1589,10 @@ InstallGccFull() {
-
- #// if .installed exists, skip, otherwise install
- if [ ! -f ".installed" ]; then
-+ #// Because we use /usr/headers for gcc, we sometimes get garbage headers we don't want.
-+ #// So we remove them.
-+ find gcc/include -type l -exec rm -f '{}' \;
-+
- showInfo "Installing ${GCC_VER} (full)..."
- make install || showError "${func_name}: Failed to run 'make install'!"
- touch .installed
diff --git a/sys-devel/crossdev/files/digest-crossdev-0.9.5-r1 b/sys-devel/crossdev/files/digest-crossdev-0.9.6
index e69de29bb2d1..e69de29bb2d1 100644
--- a/sys-devel/crossdev/files/digest-crossdev-0.9.5-r1
+++ b/sys-devel/crossdev/files/digest-crossdev-0.9.6