summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2010-03-07 23:03:07 +0000
committerJens Arnold <amiconn@rockbox.org>2010-03-07 23:03:07 +0000
commita5ffb4dabfef73994f6dc597413c35411dcddb3f (patch)
treeef767993cd83663975697cbae7493235479a891a /tools
parent4c105b68060cadf625db116d7b56be2c735d4664 (diff)
downloadrockbox-a5ffb4dabfef73994f6dc597413c35411dcddb3f.tar.gz
rockbox-a5ffb4dabfef73994f6dc597413c35411dcddb3f.zip
rockbox.dev.sh
- recognise SunOS (OpenSolaris), and apply m68k patch on it - report unknown host system and state that necessity of the m68k patch needs checking - don't assume 'tar' being GNU tar - call bunzip2 explicitly This allows building ARM, m68k and MIPS toolchains on OpenSolaris. SH1 has further problems which probably require a gcc patch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index a3bacce9ee..a8efdd1dc0 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -168,7 +168,7 @@ case $arch in
168 target="m68k-elf" 168 target="m68k-elf"
169 gccver="3.4.6" 169 gccver="3.4.6"
170 case $system in 170 case $system in
171 CYGWIN* | Darwin | FreeBSD | Interix) 171 CYGWIN* | Darwin | FreeBSD | Interix | SunOS)
172 gccpatch="gcc-3.4.6.patch" 172 gccpatch="gcc-3.4.6.patch"
173 ;; 173 ;;
174 Linux) 174 Linux)
@@ -180,6 +180,10 @@ case $arch in
180 esac 180 esac
181 ;; 181 ;;
182 *) 182 *)
183 echo "Unknown host system $system detected - check necessity of" \
184 "patch for ${target}-gcc $gccver and add it."
185 echo "Press enter to continue..."
186 read ignore
183 ;; 187 ;;
184 esac 188 esac
185 ;; 189 ;;
@@ -289,9 +293,9 @@ echo "=================================================================" >> $sum
289cat $summary 293cat $summary
290 294
291echo "ROCKBOXDEV: extracting binutils-$binutils in $builddir" 295echo "ROCKBOXDEV: extracting binutils-$binutils in $builddir"
292tar xjf $dlwhere/binutils-$binutils.tar.bz2 296bunzip2 < $dlwhere/binutils-$binutils.tar.bz2 | tar xf -
293echo "ROCKBOXDEV: extracting gcc-$gccver in $builddir" 297echo "ROCKBOXDEV: extracting gcc-$gccver in $builddir"
294tar xjf $dlwhere/gcc-core-$gccver.tar.bz2 298bunzip2 < $dlwhere/gcc-core-$gccver.tar.bz2 | tar xf -
295 299
296if test -n "$gccpatch"; then 300if test -n "$gccpatch"; then
297 echo "ROCKBOXDEV: applying gcc patch" 301 echo "ROCKBOXDEV: applying gcc patch"