summaryrefslogtreecommitdiff
path: root/tools/release/bins.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/bins.pl')
-rwxr-xr-xtools/release/bins.pl51
1 files changed, 13 insertions, 38 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl
index b96c7d863c..343315808b 100755
--- a/tools/release/bins.pl
+++ b/tools/release/bins.pl
@@ -1,6 +1,8 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3$version="3.4"; 3require "../builds.pm";
4
5$version=$publicrelease;
4 6
5my $verbose; 7my $verbose;
6if($ARGV[0] eq "-v") { 8if($ARGV[0] eq "-v") {
@@ -73,7 +75,7 @@ sub fonts {
73 chdir "build-$dir"; 75 chdir "build-$dir";
74 print "Build fonts in build-$dir\n" if($verbose); 76 print "Build fonts in build-$dir\n" if($verbose);
75 77
76 # build the manual(s) 78 # build the fonts
77 $a = buildfonts($dir, $confnum, $newl); 79 $a = buildfonts($dir, $confnum, $newl);
78 80
79 chdir ".."; 81 chdir "..";
@@ -98,8 +100,8 @@ sub buildit {
98 100
99 `rm -rf * >/dev/null 2>&1`; 101 `rm -rf * >/dev/null 2>&1`;
100 102
101 my $c = sprintf('printf "%s\n%sn\n" | ../tools/configure', 103 my $ram = $extra ? $extra : -1;
102 $confnum, $extra); 104 my $c = "../tools/configure --type=n --target=$confnum --ram=$ram";
103 105
104 print "C: $c\n" if($verbose); 106 print "C: $c\n" if($verbose);
105 `$c`; 107 `$c`;
@@ -119,8 +121,8 @@ sub buildfonts {
119 121
120 `rm -rf * >/dev/null 2>&1`; 122 `rm -rf * >/dev/null 2>&1`;
121 123
122 my $c = sprintf("printf '%s\n%sn\n' | ../tools/configure", 124 my $ram = $extra ? $extra : -1;
123 $confnum, $newl?'\n':''); 125 my $c = "../tools/configure --type=n --target=$confnum --ram=$ram";
124 126
125 print "C: $c\n" if($verbose); 127 print "C: $c\n" if($verbose);
126 `$c`; 128 `$c`;
@@ -133,37 +135,10 @@ sub buildfonts {
133print "cd tools && make\n" if($verbose); 135print "cd tools && make\n" if($verbose);
134`(cd tools && make ) >/dev/null 2>&1`; 136`(cd tools && make ) >/dev/null 2>&1`;
135 137
136runone("player", "player", '\n'); 138for my $b (&stablebuilds) {
137runone("recorder", "recorder", '\n'); 139 my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b;
138runone("recorder8mb", "recorder", '8\n'); 140 runone($b, $configname, $builds{b}{ram});
139runone("fmrecorder", "fmrecorder", '\n'); 141}
140runone("fmrecorder8mb", "fmrecorder", '8\n');
141runone("recorderv2", "recorderv2", '\n');
142runone("ondiosp", "ondiosp", '\n');
143runone("ondiofm", "ondiofm", '\n');
144runone("h100", "h100");
145runone("h120", "h120");
146runone("h300", "h300");
147runone("ipodcolor", "ipodcolor");
148runone("ipodnano", "ipodnano");
149runone("ipod4gray", "ipod4g");
150runone("ipodvideo", "ipodvideo", '32\n');
151runone("ipodvideo64mb", "ipodvideo", '64\n');
152runone("ipod3g", "ipod3g");
153runone("ipod1g2g", "ipod1g2g");
154runone("iaudiox5", "x5");
155runone("iaudiom5", "m5");
156runone("iaudiom3", "m3");
157runone("ipodmini1g", "ipodmini");
158runone("ipodmini2g", "ipodmini2g");
159runone("h10", "h10");
160runone("h10_5gb", "h10_5gb");
161runone("gigabeatf", "gigabeatf");
162runone("sansae200", "e200");
163runone("sansac200", "c200");
164#runone("mrobe500", "mrobe500");
165runone("mrobe100", "mrobe100");
166runone("cowond2", "cowond2");
167fonts("fonts", "x5");
168 142
143fonts("fonts", "iaudiox5");
169 144