summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
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/rockboxdev.sh
parent4c105b68060cadf625db116d7b56be2c735d4664 (diff)
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/rockboxdev.sh')
-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
target="m68k-elf"
gccver="3.4.6"
case $system in
- CYGWIN* | Darwin | FreeBSD | Interix)
+ CYGWIN* | Darwin | FreeBSD | Interix | SunOS)
gccpatch="gcc-3.4.6.patch"
;;
Linux)
@@ -180,6 +180,10 @@ case $arch in
esac
;;
*)
+ echo "Unknown host system $system detected - check necessity of" \
+ "patch for ${target}-gcc $gccver and add it."
+ echo "Press enter to continue..."
+ read ignore
;;
esac
;;
@@ -289,9 +293,9 @@ echo "=================================================================" >> $sum
cat $summary
echo "ROCKBOXDEV: extracting binutils-$binutils in $builddir"
-tar xjf $dlwhere/binutils-$binutils.tar.bz2
+bunzip2 < $dlwhere/binutils-$binutils.tar.bz2 | tar xf -
echo "ROCKBOXDEV: extracting gcc-$gccver in $builddir"
-tar xjf $dlwhere/gcc-core-$gccver.tar.bz2
+bunzip2 < $dlwhere/gcc-core-$gccver.tar.bz2 | tar xf -
if test -n "$gccpatch"; then
echo "ROCKBOXDEV: applying gcc patch"