diff options
Diffstat (limited to 'tools/release/bins.pl')
-rwxr-xr-x | tools/release/bins.pl | 51 |
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 | ||
3 | require "../builds.pm"; | 3 | $version="3.4"; |
4 | |||
5 | $version=$publicrelease; | ||
6 | 4 | ||
7 | my $verbose; | 5 | my $verbose; |
8 | if($ARGV[0] eq "-v") { | 6 | if($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 { | |||
135 | print "cd tools && make\n" if($verbose); | 133 | print "cd tools && make\n" if($verbose); |
136 | `(cd tools && make ) >/dev/null 2>&1`; | 134 | `(cd tools && make ) >/dev/null 2>&1`; |
137 | 135 | ||
138 | for my $b (&stablebuilds) { | 136 | runone("player", "player", '\n'); |
139 | my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; | 137 | runone("recorder", "recorder", '\n'); |
140 | runone($b, $configname, $builds{b}{ram}); | 138 | runone("recorder8mb", "recorder", '8\n'); |
141 | } | 139 | runone("fmrecorder", "fmrecorder", '\n'); |
140 | runone("fmrecorder8mb", "fmrecorder", '8\n'); | ||
141 | runone("recorderv2", "recorderv2", '\n'); | ||
142 | runone("ondiosp", "ondiosp", '\n'); | ||
143 | runone("ondiofm", "ondiofm", '\n'); | ||
144 | runone("h100", "h100"); | ||
145 | runone("h120", "h120"); | ||
146 | runone("h300", "h300"); | ||
147 | runone("ipodcolor", "ipodcolor"); | ||
148 | runone("ipodnano", "ipodnano"); | ||
149 | runone("ipod4gray", "ipod4g"); | ||
150 | runone("ipodvideo", "ipodvideo", '32\n'); | ||
151 | runone("ipodvideo64mb", "ipodvideo", '64\n'); | ||
152 | runone("ipod3g", "ipod3g"); | ||
153 | runone("ipod1g2g", "ipod1g2g"); | ||
154 | runone("iaudiox5", "x5"); | ||
155 | runone("iaudiom5", "m5"); | ||
156 | runone("iaudiom3", "m3"); | ||
157 | runone("ipodmini1g", "ipodmini"); | ||
158 | runone("ipodmini2g", "ipodmini2g"); | ||
159 | runone("h10", "h10"); | ||
160 | runone("h10_5gb", "h10_5gb"); | ||
161 | runone("gigabeatf", "gigabeatf"); | ||
162 | runone("sansae200", "e200"); | ||
163 | runone("sansac200", "c200"); | ||
164 | #runone("mrobe500", "mrobe500"); | ||
165 | runone("mrobe100", "mrobe100"); | ||
166 | runone("cowond2", "cowond2"); | ||
167 | fonts("fonts", "x5"); | ||
142 | 168 | ||
143 | fonts("fonts", "iaudiox5"); | ||
144 | 169 | ||