summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-04 15:00:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-04 15:00:06 +0000
commit72fdf373e0d06b10ece9ae5dec959ae67feb6bcd (patch)
tree5825315f9f6f7ac03cd87cdb8340905bbedfcf94 /tools
parent81f2a4a6cae10d62a698cd8bc857a0d602769cc9 (diff)
prepare for gmini 120 port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5531 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 7a1403cb6a..9851ddab14 100755
--- a/tools/configure
+++ b/tools/configure
@@ -29,6 +29,16 @@ shcc () {
GCCOPTIMIZE="-fomit-frame-pointer -fschedule-insns"
}
+calmrisccc () {
+ CC=calmrisc16-unknown-elf-gcc
+ LD=calmrisc16-unknown-elf-ld
+ AR=calmrisc16-unknown-elf-ar
+ AS=calmrisc16-unknown-elf-as
+ OC=calmrisc16-unknown-elf-objcopy
+ GCCOPTS="$CCOPTS -m1"
+ GCCOPTIMIZE="-fomit-frame-pointer"
+}
+
coldfirecc () {
CC=m68k-elf-gcc
LD=m68k-elf-ld
@@ -255,6 +265,7 @@ if [ -z "$archos" ]; then
echo "2 - Archos Recorder"
echo "3 - Archos FM Recorder"
echo "4 - Archos Recorder v2"
+ echo "5 - Archos Gmini 120"
echo "7 - Archos Ondio SP"
echo "8 - Archos Ondio FM"
echo "9 - Iriver H100"
@@ -299,6 +310,19 @@ if [ -z "$archos" ]; then
plugins="yes"
;;
+ 5)
+ archos="gmini120"
+ target="-DARCHOS_GMINI120"
+ memory=16 # fixed size (16 is a guess, remove comment when checked)
+ calmrisccc
+ tool="$rootdir/tools/scramble" # not correct but...
+ output="rockboxgmini"
+ appextra="recorder"
+ archosrom=""
+ flash=""
+ plugins="no" # disabled for now, enable later on
+ ;;
+
7)
archos="ondiosp"
target="-DARCHOS_ONDIOSP"