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