summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobert Keevil <rkeevil+rockbox@gmail.com>2009-07-13 21:09:39 +0000
committerRobert Keevil <rkeevil+rockbox@gmail.com>2009-07-13 21:09:39 +0000
commiteea149bd1399e749a6dae8b3a6fe5ff076ead985 (patch)
treea131998421757859c25c567c657223ece0430c31 /tools
parent5f6998bde9b8a7a7aa61df602202ff41feb13ea1 (diff)
downloadrockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.tar.gz
rockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.tar.bz2
rockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.zip
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure40
-rwxr-xr-xtools/rockboxdev.sh2
2 files changed, 37 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index 42854fba79..6d65f648cf 100755
--- a/tools/configure
+++ b/tools/configure
@@ -310,6 +310,14 @@ arm1136jfscc () {
gccchoice="4.0.3"
}
+arm1176jzscc () {
+ prefixtools arm-elf-
+ GCCOPTS="$CCOPTS -mcpu=arm1176jz-s -mlong-calls"
+ GCCOPTIMIZE="-fomit-frame-pointer"
+ endian="little"
+ gccchoice="4.0.3"
+}
+
mipselcc () {
prefixtools mipsel-elf-
GCCOPTS="$CCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-long-calls"
@@ -791,10 +799,10 @@ cat <<EOF
58) Sansa Fuze
==Onda== ==Meizu== 59) Sansa c200v2
120) VX747 110) M6SL 60) Sansa Clipv2
- 121) VX767 111) M6SP
- 122) VX747+ 112) M3 ==Logik==
- 123) VX777 80) DAX 1GB MP3/DAB
-
+ 121) VX767 111) M6SP 61) Sansa View
+ 122) VX747+ 112) M3
+ 123) VX777 ==Logik==
+ 80) DAX 1GB MP3/DAB
==Samsung== ==Tatung==
140) YH-820 150) Elio TPJ-1022 ==Lyre project==
141) YH-920 130) Lyre proto 1
@@ -1913,6 +1921,30 @@ fi
t_model="sansa-clipv2"
;;
+ 61|view)
+ echo "Sansa View is net yet supported!"
+ exit 1
+ target_id=63
+ modelname="view"
+ target="-DSANSA_VIEW"
+ memory=32
+ arm1176jzscc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ output="rockbox.mi4"
+ appextra="gui"
+ plugins=""
+ swcodec="yes"
+ boottool="$rootdir/tools/scramble -mi4v3 -model=view -type=RBBL"
+ bootoutput="firmware.mi4"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="sandisk"
+ t_model="sansa-view"
+ ;;
+
150|tpj1022)
target_id=25
modelname="tpj1022"
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 508b1ad12e..4ceb4c6307 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -183,7 +183,7 @@ case $arch in
;;
[Aa])
target="arm-elf"
- gccpatch="rockbox-multilibs-arm-elf-gcc-4.0.3_2.diff"
+ gccpatch="rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff"
;;
[Ii])
target="mipsel-elf"