1
0
Fork 0
forked from len0rd/rockbox

New target - iPod Video.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-12-18 13:04:00 +00:00
parent 3f9789b45a
commit 2a7bd9fb7b
12 changed files with 334 additions and 11 deletions

20
tools/configure vendored
View file

@ -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"

View file

@ -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;