From a5ffb4dabfef73994f6dc597413c35411dcddb3f Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 7 Mar 2010 23:03:07 +0000 Subject: 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 --- tools/rockboxdev.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tools') 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" -- cgit v1.2.3