summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-17 10:24:41 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-17 10:24:41 +0000
commit05a756db8684dfc788b8b7d8f7ebafd70c2da8da (patch)
treefb140ba006e6f6b13e65478e9bba4e167c3b3692 /tools
parent1f692e5f55a6493f48ae74b56935623f69daefc6 (diff)
downloadrockbox-05a756db8684dfc788b8b7d8f7ebafd70c2da8da.tar.gz
rockbox-05a756db8684dfc788b8b7d8f7ebafd70c2da8da.tar.bz2
rockbox-05a756db8684dfc788b8b7d8f7ebafd70c2da8da.zip
Fix building MIPS cross compiler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18081 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 8eb1de08fc..9bbe56c25b 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -134,6 +134,7 @@ buildone () {
gccpatch="" # default is no gcc patch
gccver="4.0.3" # default gcc version
binutils="2.16.1" # The binutils version to use
+gccconfigure="" #default is nothing added to configure
system=`uname -s`
gccurl="http://www.rockbox.org/gcc"
@@ -170,6 +171,7 @@ case $1 in
target="mipsel-elf"
gccver="4.1.2"
binutils="2.17"
+ gccconfigure="--disable-libssp"
;;
*)
echo "unsupported"
@@ -250,7 +252,7 @@ mkdir build-gcc
echo "ROCKBOXDEV: cd build-gcc"
cd build-gcc
echo "ROCKBOXDEV: gcc/configure"
-../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c
+../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure
echo "ROCKBOXDEV: gcc/make"
$make
echo "ROCKBOXDEV: gcc/make install to $prefix/$target"