Get sims.pl working again after target rename

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Chicoine 2009-12-10 19:50:25 +00:00
parent ec64954c66
commit f5c705264f
2 changed files with 45 additions and 56 deletions

View file

@ -10,26 +10,32 @@ $releasenotes="/wiki/ReleaseNotes34";
'archosfmrecorder' => { 'archosfmrecorder' => {
name => 'Archos FM Recorder', name => 'Archos FM Recorder',
status => 3, status => 3,
ram => 2,
}, },
'archosondiofm' => { 'archosondiofm' => {
name => 'Archos Ondio FM', name => 'Archos Ondio FM',
status => 3, status => 3,
ram => 2,
}, },
'archosondiosp' => { 'archosondiosp' => {
name => 'Archos Ondio SP', name => 'Archos Ondio SP',
status => 3, status => 3,
ram => 2,
}, },
'archosplayer' => { 'archosplayer' => {
name => 'Archos Player/Studio', name => 'Archos Player/Studio',
status => 3, status => 3,
ram => 2,
}, },
'archosrecorder' => { 'archosrecorder' => {
name => 'Archos Recorder v1', name => 'Archos Recorder v1',
status => 3, status => 3,
ram => 2,
}, },
'archosrecorderv2' => { 'archosrecorderv2' => {
name => 'Archos Recorder v2', name => 'Archos Recorder v2',
status => 3, status => 3,
ram => 2,
}, },
'cowond2' => { 'cowond2' => {
name => 'Cowon D2', name => 'Cowon D2',
@ -104,6 +110,7 @@ $releasenotes="/wiki/ReleaseNotes34";
'ipodvideo' => { 'ipodvideo' => {
name => 'iPod Video 30GB', name => 'iPod Video 30GB',
status => 3, status => 3,
ram => 32,
}, },
'ipodvideo64mb' => { 'ipodvideo64mb' => {
name => 'iPod Video 60/80GB', name => 'iPod Video 60/80GB',
@ -112,7 +119,7 @@ $releasenotes="/wiki/ReleaseNotes34";
manual => 'ipodvideo', manual => 'ipodvideo',
voice => 'ipodvideo', voice => 'ipodvideo',
configname => 'ipodvideo', configname => 'ipodvideo',
ram => 64 ram => 64,
}, },
'iriverh10' => { 'iriverh10' => {
name => 'iriver H10 20GB', name => 'iriver H10 20GB',

View file

@ -4,7 +4,7 @@ use File::Basename;
use File::Path; use File::Path;
use Cwd; use Cwd;
require "../builds.pm"; require "tools/builds.pm";
my $verbose, $strip, $update, $doonly, $version; my $verbose, $strip, $update, $doonly, $version;
my @doonly; my @doonly;
@ -94,7 +94,7 @@ if (!defined($version)) {
# made once for all targets # made once for all targets
sub runone { sub runone {
my ($dir)=@_; my ($dir, $extra)=@_;
my $a; my $a;
if(@doonly > 0 && !grep(/^$dir$/, @doonly)) { if(@doonly > 0 && !grep(/^$dir$/, @doonly)) {
@ -106,7 +106,7 @@ sub runone {
print "Build in build-$dir\n" if($verbose); print "Build in build-$dir\n" if($verbose);
# build the target # build the target
$a = buildit($dir); $a = buildit($dir, $extra);
# Do not continue if the rockboxui executable is not created. This will # Do not continue if the rockboxui executable is not created. This will
# prevent a good build getting overwritten by a bad build when # prevent a good build getting overwritten by a bad build when
@ -176,7 +176,7 @@ sub runone {
}; };
sub buildit { sub buildit {
my ($target, $confnum, $extra)=@_; my ($dir, $extra)=@_;
`rm -rf * >/dev/null 2>&1`; `rm -rf * >/dev/null 2>&1`;
@ -188,7 +188,7 @@ sub buildit {
} }
my $c = sprintf('printf "%s\n%s%s" | ../tools/configure', my $c = sprintf('printf "%s\n%s%s" | ../tools/configure',
$confnum, $extra, $simstring); $dir, $extra, $simstring);
print "C: $c\n" if($verbose); print "C: $c\n" if($verbose);
`$c`; `$c`;
@ -200,53 +200,35 @@ sub buildit {
`make install 2>/dev/null`; `make install 2>/dev/null`;
} }
runone("player", "player", '\n'); for my $b (sort byname keys %builds) {
runone("recorder", "recorder", '\n'); if ($builds{$b}{status} >= 2)
#runone("recorder8mb", "recorder", '8\n'); {
runone("fmrecorder", "fmrecorder", '\n'); # ipodvideo64mb uses the ipodvideo simulator
#runone("fmrecorder8mb", "fmrecorder", '8\n'); # sansae200r uses the sansae200 simulator
runone("recorderv2", "recorderv2", '\n'); if ($b ne 'ipodvideo64mb' && $b ne 'sansae200r')
runone("ondiosp", "ondiosp", '\n'); {
runone("ondiofm", "ondiofm", '\n'); if ($builds{$b}{ram} ne '')
runone("h100", "h100"); {
runone("h120", "h120"); # These builds need the ram size sent to configure
runone("h300", "h300"); runone($b, $builds{$b}{ram} . '\n');
runone("ipodcolor", "ipodcolor"); }
runone("ipodnano", "ipodnano"); else
runone("ipod4gray", "ipod4g"); {
runone("ipodvideo", "ipodvideo", '32\n'); runone($b);
#runone("ipodvideo64mb", "ipodvideo", '64\n'); }
runone("ipod3g", "ipod3g"); }
runone("ipod1g2g", "ipod1g2g"); }
runone("iaudiox5", "x5"); }
runone("iaudiom5", "m5");
runone("iaudiom3", "m3"); #The following ports are in the unusable category, but the simulator does build
runone("ipodmini1g", "ipodmini"); runone("gogearhdd1630");
runone("ipodmini2g", "ipodmini2g"); runone("gogearsa9200");
runone("h10", "h10"); runone("mini2440");
runone("h10_5gb", "h10_5gb"); runone("ondavx747");
runone("gigabeatf", "gigabeatf"); runone("ondavx747p");
runone("gigabeats", "gigabeats"); runone("ondavx777");
runone("sansae200", "e200"); runone("sansac200v2");
runone("sansae200v2", "e200v2"); runone("sansam200v4");
runone("sansac200", "c200"); runone("zenvision");
runone("mrobe500", "mrobe500"); runone("zenvisionm30gb");
runone("mrobe100", "mrobe100"); runone("zenvisionm60gb");
runone("cowond2", "cowond2");
runone("clip", "clip");
runone("zvm30gb", "creativezvm30gb");
runone("zvm60gb", "creativezvm60gb");
runone("zenvision", "creativezenvision");
runone("hdd1630", "hdd1630");
runone("fuze", "fuze");
runone("m200v4", "m200v4");
runone("sa9200", "sa9200");
runone("sansac200v2", "c200v2");
runone("yh820", "yh820");
runone("yh920", "yh920");
runone("yh925", "yh925");
runone("ondavx747", "ondavx747");
runone("ondavx747p", "ondavx747p");
runone("ondavx777", "ondavx777");
#runone("ifp7xx", "ifp7xx");
runone("lyremini2440", "mini2440");