diff options
author | Dave Chapman <dave@dchapman.com> | 2005-12-18 13:04:00 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-12-18 13:04:00 +0000 |
commit | 2a7bd9fb7b9698b949ae85e24b17921c807c323c (patch) | |
tree | f81fe7b060f1202996d6e5946ba349e5b9861935 /tools | |
parent | 3f9789b45a971418025a23a437a9c9384c61e2f7 (diff) |
New target - iPod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 20 | ||||
-rw-r--r-- | tools/scramble.c | 4 |
2 files changed, 22 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index 5830f89c6d..fc8a52e058 100755 --- a/tools/configure +++ b/tools/configure @@ -410,6 +410,7 @@ appsdir='\$(ROOTDIR)/apps' echo "12 - iAudio X5" echo "13 - iPod Color/Photo" echo "14 - iPod Nano" + echo "15 - iPod Video" getit=`input`; @@ -659,6 +660,23 @@ appsdir='\$(ROOTDIR)/apps' toolset=$ipodbitmaptools ;; + 15) + archos="ipodvideo" + target="-DIPOD_VIDEO" + memory=32 # 30GB models have 32MB, 60GB have 64MB + arm7tdmicc + tool="$rootdir/tools/scramble -add=ipvd" + output="rockbox.ipod" + appextra="recorder:gui" + archosrom="" + flash="" + plugins="yes" + codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" + # toolset is the tools within the tools directory that we build for + # this particular target. + toolset=$ipodbitmaptools + ;; + *) echo "Please select an actual target platform!" exit @@ -703,7 +721,7 @@ fi case $option in [Bb]) case $archos in - h100|h120|h300|ipodcolor|ipodnano) + h100|h120|h300|ipodcolor|ipodnano|ipodvideo) extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES appsdir='\$(ROOTDIR)/bootloader' apps="bootloader" diff --git a/tools/scramble.c b/tools/scramble.c index 7d936cf42f..73e4925e48 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -68,7 +68,7 @@ void usage(void) "\t-mm=X Archos Multimedia format (X values: A=JBMM, B=AV1xx, C=AV3xx)\n" "\t-iriver iRiver format\n" "\t-add=X Rockbox generic \"add-up\" checksum format\n" - "\t (X values: h100, h120, h140, h300, ipco, nano)\n" + "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd)\n" "\nNo option results in Archos standard player/recorder format.\n"); exit(1); @@ -166,6 +166,8 @@ int main (int argc, char** argv) modelnum = 3; else if(!strcmp(&argv[1][5], "nano")) modelnum = 4; + else if(!strcmp(&argv[1][5], "ipvd")) + modelnum = 5; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; |