From 7b10ef9a7c55764d1b6815fd0871cb51ff0205f9 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 27 Jun 2008 23:24:34 +0000 Subject: initial Meizu M6SL port (take 2) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 35 +++++++++++++++++++++++++++++++---- tools/makesrc.inc | 3 ++- tools/rockboxdev.sh | 4 ++-- 3 files changed, 35 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index 3d9afdbfda..6410f9043f 100755 --- a/tools/configure +++ b/tools/configure @@ -248,6 +248,14 @@ arm9tdmicc () { gccchoice="4.0.3" } +arm940tbecc () { + prefixtools arm-elf- + GCCOPTS="$CCOPTS -mbig-endian -mcpu=arm940t -mlong-calls" + GCCOPTIMIZE="-fomit-frame-pointer" + endian="big" + gccchoice="4.0.3" +} + arm946cc () { prefixtools arm-elf- GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls" @@ -676,12 +684,10 @@ cat </dev/null \ -| grep -v "^\#") +| grep -v "^\#" | xargs ls) +#| grep -v "^\#") diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index fd4982b96e..77442c8efc 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -2,7 +2,7 @@ # this is where this script will store downloaded files and check for already # downloaded files -dlwhere="/tmp/rbdev-dl" +dlwhere="/usr/tmp/rbdev-dl" # will append the target string to the prefix dir mentioned here # Note that the user running this script must be able to do make install in @@ -12,7 +12,7 @@ prefix="/usr/local" # This directory is used to extract all files and to build everything in. It # must not exist before this script is invoked (as a security measure). -builddir="/tmp/rbdev-build" +builddir="/usr/tmp/rbdev-build" # This script needs to use GNU Make. On Linux systems, GNU Make is invoked # by running the "make" command, on most BSD systems, GNU Make is invoked -- cgit v1.2.3