diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
commit | 66fa5b578904f7df61293d6ce5c08966b5db13db (patch) | |
tree | 5db57c13d5b23e76793b60bbc48579ac24da1550 /tools/release/bins.pl | |
parent | 7b70046e7ab7329d93f800fe4b074fabff998a0e (diff) | |
download | rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.tar.gz rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.zip |
Rename targets to be consistent in all places. (FS #10819)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/release/bins.pl')
-rwxr-xr-x | tools/release/bins.pl | 51 |
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"; | 3 | require "../builds.pm"; |
4 | |||
5 | $version=$publicrelease; | ||
4 | 6 | ||
5 | my $verbose; | 7 | my $verbose; |
6 | if($ARGV[0] eq "-v") { | 8 | if($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 { | |||
133 | print "cd tools && make\n" if($verbose); | 135 | print "cd tools && make\n" if($verbose); |
134 | `(cd tools && make ) >/dev/null 2>&1`; | 136 | `(cd tools && make ) >/dev/null 2>&1`; |
135 | 137 | ||
136 | runone("player", "player", '\n'); | 138 | for my $b (&stablebuilds) { |
137 | runone("recorder", "recorder", '\n'); | 139 | my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; |
138 | runone("recorder8mb", "recorder", '8\n'); | 140 | runone($b, $configname, $builds{b}{ram}); |
139 | runone("fmrecorder", "fmrecorder", '\n'); | 141 | } |
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"); | ||
168 | 142 | ||
143 | fonts("fonts", "iaudiox5"); | ||
169 | 144 | ||