summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-13 18:27:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-13 18:27:31 +0000
commitb91b410c118569d250e07309cc2623814420376a (patch)
tree530390ee990dbe8874673ee670e91b0685abb566
parente5059a7b0d056044299f6ef601b59296c0ebd42c (diff)
downloadrockbox-b91b410c118569d250e07309cc2623814420376a.tar.gz
rockbox-b91b410c118569d250e07309cc2623814420376a.zip
m68k-elf-gcc 3.4.6 built on MacOS or Cygwin need a diable-68040 patch to
work and this script now tries to do this git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10560 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/rockboxdev.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 5f75428dfa..3e0d5ffbc5 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -107,6 +107,8 @@ gccpatch="" # default is no gcc patch
gccver="4.0.3" # default gcc version
binutils="2.16.1" # The binutils version to use
+system=`uname -s`
+
case $1 in
[Ss])
target="sh-elf"
@@ -116,6 +118,16 @@ case $1 in
[Mm])
target="m68k-elf"
gccver="3.4.6"
+ case $system in
+ CYGWIN* | Darwin)
+ gccurl="http://www.rockbox.org/twiki/pub/Main/CrossCompiler"
+ gccpatch="gcc-3.4.6.patch"
+ ;;
+ Linux)
+ ;;
+ *)
+ ;;
+ esac
;;
[Aa])
target="arm-elf"