From b91b410c118569d250e07309cc2623814420376a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Aug 2006 18:27:31 +0000 Subject: [PATCH] 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 --- tools/rockboxdev.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"