diff options
author | 2006-08-10 01:30:33 +0000 | |
---|---|---|
committer | 2006-08-10 01:30:33 +0000 | |
commit | 2e1479a781f9546c68f3a9722fb907f1514e1d5e (patch) | |
tree | 5180d33766de9dd3286e8d7c7403f2357a9ad8a3 | |
parent | embedspu script added (diff) | |
download | lu_zero-2e1479a781f9546c68f3a9722fb907f1514e1d5e.tar.gz lu_zero-2e1479a781f9546c68f3a9722fb907f1514e1d5e.tar.bz2 lu_zero-2e1479a781f9546c68f3a9722fb907f1514e1d5e.zip |
missing patch
svn path=/; revision=47
-rw-r--r-- | sys-devel/gcc-cell/files/embedspu-gentoo.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-devel/gcc-cell/files/embedspu-gentoo.patch b/sys-devel/gcc-cell/files/embedspu-gentoo.patch new file mode 100644 index 0000000..6eee06a --- /dev/null +++ b/sys-devel/gcc-cell/files/embedspu-gentoo.patch @@ -0,0 +1,41 @@ +--- toolchain.orig/scripts/embedspu.sh 2006-08-10 01:16:52.000000000 +0200 ++++ toolchain/scripts/embedspu.sh 2006-08-10 01:16:44.000000000 +0200 +@@ -22,22 +22,15 @@ + # Determine location of dependent utilities + file=`basename "$0"` + dir=`dirname "$0"` +-[ "${file#ppu-}" != "$file" ] && PREFIX=ppu- + +-PPU_GCC=${PREFIX}gcc +-SPU_READELF=spu-readelf ++PPU_GCC=powerpc64-unknown-linux-gnu-gcc ++SPU_READELF=spu-elf-readelf + + which $PPU_GCC > /dev/null 2>&1 + if [ $? -eq 0 ] + then + : +-elif [ -a ${dir}/$PPU_GCC ] +-then +- PPU_GCC=${dir}/$PPU_GCC +-elif [ -a /opt/sce/ppu/bin/$PPU_GCC ] +-then +- PPU_GCC=/opt/sce/ppu/bin/$PPU_GCC +-else ++else + echo Cannot find $PPU_GCC. + exit 1 + fi +@@ -46,12 +39,6 @@ + if [ $? -eq 0 ] + then + : +-elif [ -a ${dir}/../../spu/bin/$SPU_READELF ] +-then +- SPU_READELF=${dir}/../../spu/bin/$SPU_READELF +-elif [ -a /opt/sce/spu/bin/$SPU_READELF ] +-then +- SPU_READELF=/opt/sce/spu/bin/$SPU_READELF + else + echo Cannot find $SPU_READELF. + exit 1 |