summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-23 22:57:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-23 22:57:01 +0000
commit87865a52278d71333011794b09ad3791ca20a791 (patch)
treefe40ad13d3e95e2a5bf74052ef3338dfb5a978e3 /tools
parent34080491fa8e49ad155ff2ae6f6a0715cae3b26f (diff)
downloadrockbox-87865a52278d71333011794b09ad3791ca20a791.tar.gz
rockbox-87865a52278d71333011794b09ad3791ca20a791.tar.bz2
rockbox-87865a52278d71333011794b09ad3791ca20a791.zip
Initial take at providing a Sansa e200R build target. Only the bootloader build
differs from the plain Sansa e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12466 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure35
1 files changed, 32 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 0dc191a920..aa3a8cca5e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -492,9 +492,9 @@ whichlang() {
done
}
-target=$1
+opt=$1
-if test "$target" = "--help"; then
+if test "$opt" = "--help"; then
echo "Rockbox configure script."
echo "Invoke this in a directory to generate a Makefile to build Rockbox"
echo "Do *NOT* run this within the tools directory!"
@@ -564,7 +564,7 @@ cat <<EOF
==iAudio== ==Toshiba== ==SanDisk==
30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200
-
+ 51) Sansa e200R
==Tatung==
60) Elio TPJ-1022
EOF
@@ -1152,6 +1152,35 @@ EOF
t_model="sansa-e200"
;;
+ 51|e200r)
+ # the e200R model is pretty much identical to the e200, it only has a
+ # different option to the scramble tool when building a bootloader and
+ # makes the bootloader output file name in all lower case.
+ target_id=27
+ archos="e200r"
+ target="-DSANSA_E200"
+ memory=32 # supposedly
+ arm7tdmicc
+ tool="$rootdir/tools/scramble -add=e200"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ output="rockbox.e200"
+ appextra="recorder:gui"
+ archosrom=""
+ flash=""
+ plugins="yes"
+ codecs="libmad liba52 libffmpegFLAC libTremor libwavpack libmusepack libalac libfaad libm4a libspeex"
+ boottool="$rootdir/tools/scramble -mi4r"
+ bootoutput="pp5022.mi4"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset="$genericbitmaptools scramble"
+ # architecture, manufacturer and model for the target-tree build
+ t_cpu="arm"
+ t_manufacturer="sandisk"
+ t_model="sansa-e200"
+ ;;
+
15|h10_5gb)
target_id=24
archos="h10_5gb"