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
This commit is contained in:
parent
4c105b6806
commit
a5ffb4dabf
1 changed files with 7 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue