summaryrefslogtreecommitdiff
path: root/tools/release/sims.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/sims.pl')
-rwxr-xr-xtools/release/sims.pl66
1 files changed, 12 insertions, 54 deletions
diff --git a/tools/release/sims.pl b/tools/release/sims.pl
index 0481234189..79eeb5652a 100755
--- a/tools/release/sims.pl
+++ b/tools/release/sims.pl
@@ -4,6 +4,8 @@ use File::Basename;
4use File::Path; 4use File::Path;
5use Cwd; 5use Cwd;
6 6
7require "../builds.pm";
8
7my $verbose, $strip, $update, $doonly, $version; 9my $verbose, $strip, $update, $doonly, $version;
8my @doonly; 10my @doonly;
9 11
@@ -88,7 +90,7 @@ if (!defined($version)) {
88 90
89# made once for all targets 91# made once for all targets
90sub runone { 92sub runone {
91 my ($dir, $confnum, $extra)=@_; 93 my ($dir)=@_;
92 my $a; 94 my $a;
93 95
94 if(@doonly > 0 && !grep(/^$dir$/, @doonly)) { 96 if(@doonly > 0 && !grep(/^$dir$/, @doonly)) {
@@ -100,7 +102,7 @@ sub runone {
100 print "Build in build-$dir\n" if($verbose); 102 print "Build in build-$dir\n" if($verbose);
101 103
102 # build the target 104 # build the target
103 $a = buildit($dir, $confnum, $extra); 105 $a = buildit($dir);
104 106
105 if ($strip) { 107 if ($strip) {
106 print "Stripping binaries\n" if ($verbose); 108 print "Stripping binaries\n" if ($verbose);
@@ -149,12 +151,11 @@ sub runone {
149}; 151};
150 152
151sub buildit { 153sub buildit {
152 my ($target, $confnum, $extra)=@_; 154 my ($target)=@_;
153 155
154 `rm -rf * >/dev/null 2>&1`; 156 `rm -rf * >/dev/null 2>&1`;
155 157
156 my $c = sprintf('printf "%s\n%ss\n" | ../tools/configure', 158 my $c = "../tools/configure --type=s --target=$target";
157 $confnum, $extra);
158 159
159 print "C: $c\n" if($verbose); 160 print "C: $c\n" if($verbose);
160 `$c`; 161 `$c`;
@@ -166,52 +167,9 @@ sub buildit {
166 `make install 2>/dev/null`; 167 `make install 2>/dev/null`;
167} 168}
168 169
169runone("player", "player", '\n'); 170for my $b (keys %builds) {
170runone("recorder", "recorder", '\n'); 171 next if ($builds{$b}{status} < 3); # only stable builds
171#runone("recorder8mb", "recorder", '8\n'); 172 next if ($builds{$b}{configname} < 3); # no memsize variants
172runone("fmrecorder", "fmrecorder", '\n'); 173
173#runone("fmrecorder8mb", "fmrecorder", '8\n'); 174 runone($b);
174runone("recorderv2", "recorderv2", '\n'); 175}
175runone("ondiosp", "ondiosp", '\n');
176runone("ondiofm", "ondiofm", '\n');
177runone("h100", "h100");
178runone("h120", "h120");
179runone("h300", "h300");
180runone("ipodcolor", "ipodcolor");
181runone("ipodnano", "ipodnano");
182runone("ipod4gray", "ipod4g");
183runone("ipodvideo", "ipodvideo", '32\n');
184#runone("ipodvideo64mb", "ipodvideo", '64\n');
185runone("ipod3g", "ipod3g");
186runone("ipod1g2g", "ipod1g2g");
187runone("iaudiox5", "x5");
188runone("iaudiom5", "m5");
189runone("iaudiom3", "m3");
190runone("ipodmini1g", "ipodmini");
191runone("ipodmini2g", "ipodmini2g");
192runone("h10", "h10");
193runone("h10_5gb", "h10_5gb");
194runone("gigabeatf", "gigabeatf");
195runone("gigabeats", "gigabeats");
196runone("sansae200", "e200");
197runone("sansae200v2", "e200v2");
198runone("sansac200", "c200");
199runone("mrobe500", "mrobe500");
200runone("mrobe100", "mrobe100");
201runone("cowond2", "cowond2");
202runone("clip", "clip");
203runone("zvm30gb", "creativezvm30gb");
204runone("zvm60gb", "creativezvm60gb");
205runone("zenvision", "creativezenvision");
206runone("hdd1630", "hdd1630");
207runone("fuze", "fuze");
208runone("m200v4", "m200v4");
209runone("sa9200", "sa9200");
210runone("sansac200v2", "c200v2");
211runone("yh820", "yh_820");
212runone("yh920", "yh_920");
213runone("yh925", "yh_925");
214runone("ondavx747", "ondavx747");
215runone("ondavx747p", "ondavx747p");
216runone("ondavx777", "ondavx777");
217runone("ifp7xx", "ifp7xx");