forked from len0rd/rockbox
tools: Clean out some historical cruft from 'sims.pl'
It's intended to build all of the Windows Simulator builds in one fell swoop but has bitrotten a bit. Correct some of the glaring problems. Change-Id: I6073af629d2698624036ccf303a5d18398cefdc0
This commit is contained in:
parent
204551444e
commit
637f93074e
1 changed files with 15 additions and 30 deletions
|
@ -22,9 +22,8 @@ while (scalar @ARGV > 0) {
|
|||
print <<MOO
|
||||
Usage: w32sims [-v] [-u] [-s] [-w] [-r VERSION] [-f filename] [buildonly]
|
||||
-v Verbose output
|
||||
-u Run svn up before building
|
||||
-r Use the specified version string for filenames (defaults to SVN
|
||||
revision)
|
||||
-u Run 'git pull' before building
|
||||
-r Use the specified version string for filenames (defaults to git revision)
|
||||
-s Strip binaries before zipping them up.
|
||||
-w Crosscompile for Windows (requires mingw32)
|
||||
-f Filename format string (without extension). This can include a
|
||||
|
@ -70,8 +69,8 @@ MOO
|
|||
}
|
||||
|
||||
if($update) {
|
||||
# svn update!
|
||||
system("svn -q up");
|
||||
# Update git repo!
|
||||
system("git pull");
|
||||
}
|
||||
|
||||
$test = `sdl-config --libs`;
|
||||
|
@ -82,7 +81,6 @@ if ($test eq "") {
|
|||
|
||||
$rev = `tools/version.sh .`;
|
||||
chomp $rev;
|
||||
print "rev $rev\n" if($verbose);
|
||||
|
||||
if (@doonly) {
|
||||
printf("Build only %s\n", join(', ', @doonly)) if($verbose);
|
||||
|
@ -91,6 +89,7 @@ if (@doonly) {
|
|||
if (!defined($version)) {
|
||||
$version = $rev;
|
||||
}
|
||||
print "version $version\n" if($verbose);
|
||||
|
||||
# made once for all targets
|
||||
sub runone {
|
||||
|
@ -191,10 +190,6 @@ sub buildit {
|
|||
|
||||
for my $b (sort byname keys %builds) {
|
||||
if ($builds{$b}{status} >= 2)
|
||||
{
|
||||
# ipodvideo64mb uses the ipodvideo simulator
|
||||
# sansae200r uses the sansae200 simulator
|
||||
if ($b ne 'ipodvideo64mb' && $b ne 'sansae200r')
|
||||
{
|
||||
if ($builds{$b}{ram} ne '')
|
||||
{
|
||||
|
@ -206,11 +201,9 @@ for my $b (sort byname keys %builds) {
|
|||
runone($b);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#The following ports are in the unusable category, but the simulator does build
|
||||
runone("mini2440");
|
||||
runone("ondavx747");
|
||||
runone("ondavx747p");
|
||||
runone("ondavx777");
|
||||
|
@ -218,11 +211,3 @@ runone("sansam200v4");
|
|||
runone("zenvision");
|
||||
runone("zenvisionm30gb");
|
||||
runone("zenvisionm60gb");
|
||||
runone("creativezenxfi2");
|
||||
runone("creativezenxfi3");
|
||||
runone("sonynwze360");
|
||||
runone("sonynwze370");
|
||||
runone("creativezenxfi");
|
||||
runone("creativezen");
|
||||
runone("creativezenmozaic");
|
||||
runone("xduoox3");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue