blob: 6eee06a5dda27c994f16ce4f1aba6f46a8f68171 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
|