diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-27 23:24:34 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-27 23:24:34 +0000 |
commit | 7b10ef9a7c55764d1b6815fd0871cb51ff0205f9 (patch) | |
tree | 0b2056ef0334e45107b02118040baae49d51b142 /tools | |
parent | 5c763f4001c1634ea62ded26339df52494e6c718 (diff) |
initial Meizu M6SL port (take 2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 35 | ||||
-rw-r--r-- | tools/makesrc.inc | 3 | ||||
-rwxr-xr-x | tools/rockboxdev.sh | 4 |
3 files changed, 35 insertions, 7 deletions
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 <<EOF ==Tatung== ==Olympus== ==Logik== 60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB 71) M:Robe 100 - - ==Creative== ==Philips== - 90) Zen Vision:M 30GB 100) GoGear SA9200 + ==Creative== ==Philips== ==Meizu== + 90) Zen Vision:M 30GB 100) GoGear SA9200 110) M6SL 91) Zen Vision:M 60GB 101) GoGear HDD1630 92) Zen Vision - EOF buildfor=`input`; @@ -1720,6 +1726,27 @@ fi t_model="hdd1630" ;; + 110|meizum6sl) + target_id=20 + modelname="meizum6sl" + target="-DMEIZU_M6SL" + memory=16 # always + arm940tbecc + tool="cp" + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 4" + output="rockbox.meizu" + appextra="recorder:gui" + plugins="no" #FIXME + swcodec="yes" + toolset=$genericbitmaptools + boottool="cp" + bootoutput="rockboot.ebn" + # architecture, manufacturer and model for the target-tree build + t_cpu="arm" + t_manufacturer="s5l8700" + t_model="meizu-m6sl" + ;; *) echo "Please select a supported target platform!" exit diff --git a/tools/makesrc.inc b/tools/makesrc.inc index 846df8cb9e..be9c34e16b 100644 --- a/tools/makesrc.inc +++ b/tools/makesrc.inc @@ -11,4 +11,5 @@ SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - 2>/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 |