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, 38 insertions, 13 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl
index 343315808b..b96c7d863c 100755
--- a/tools/release/bins.pl
+++ b/tools/release/bins.pl
@@ -1,8 +1,6 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3require "../builds.pm"; 3$version="3.4";
4
5$version=$publicrelease;
6 4
7my $verbose; 5my $verbose;
8if($ARGV[0] eq "-v") { 6if($ARGV[0] eq "-v") {
@@ -75,7 +73,7 @@ sub fonts {
75 chdir "build-$dir"; 73 chdir "build-$dir";
76 print "Build fonts in build-$dir\n" if($verbose); 74 print "Build fonts in build-$dir\n" if($verbose);
77 75
78 # build the fonts 76 # build the manual(s)
79 $a = buildfonts($dir, $confnum, $newl); 77 $a = buildfonts($dir, $confnum, $newl);
80 78
81 chdir ".."; 79 chdir "..";
@@ -100,8 +98,8 @@ sub buildit {
100 98
101 `rm -rf * >/dev/null 2>&1`; 99 `rm -rf * >/dev/null 2>&1`;
102 100
103 my $ram = $extra ? $extra : -1; 101 my $c = sprintf('printf "%s\n%sn\n" | ../tools/configure',
104 my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; 102 $confnum, $extra);
105 103
106 print "C: $c\n" if($verbose); 104 print "C: $c\n" if($verbose);
107 `$c`; 105 `$c`;
@@ -121,8 +119,8 @@ sub buildfonts {
121 119
122 `rm -rf * >/dev/null 2>&1`; 120 `rm -rf * >/dev/null 2>&1`;
123 121
124 my $ram = $extra ? $extra : -1; 122 my $c = sprintf("printf '%s\n%sn\n' | ../tools/configure",
125 my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; 123 $confnum, $newl?'\n':'');
126 124
127 print "C: $c\n" if($verbose); 125 print "C: $c\n" if($verbose);
128 `$c`; 126 `$c`;
@@ -135,10 +133,37 @@ sub buildfonts {
135print "cd tools && make\n" if($verbose); 133print "cd tools && make\n" if($verbose);
136`(cd tools && make ) >/dev/null 2>&1`; 134`(cd tools && make ) >/dev/null 2>&1`;
137 135
138for my $b (&stablebuilds) { 136runone("player", "player", '\n');
139 my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; 137runone("recorder", "recorder", '\n');
140 runone($b, $configname, $builds{b}{ram}); 138runone("recorder8mb", "recorder", '8\n');
141} 139runone("fmrecorder", "fmrecorder", '\n');
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");
142 168
143fonts("fonts", "iaudiox5");
144 169