summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Parker <rockbox@aeparker.com>2011-02-20 20:07:41 +0000
committerAlex Parker <rockbox@aeparker.com>2011-02-20 20:07:41 +0000
commitcdce4ddf0d3400bb8c448f61ea4459045ea9c216 (patch)
tree8e07a67a061060fb496451152858fea826fb56c9
parent745406a9f034b4314a8a482a904335916b70ea79 (diff)
downloadrockbox-cdce4ddf0d3400bb8c448f61ea4459045ea9c216.tar.gz
rockbox-cdce4ddf0d3400bb8c448f61ea4459045ea9c216.zip
Also build and keep elfs zip file for the release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29362 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/release/bins.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl
index f45450a90d..99982be41a 100755
--- a/tools/release/bins.pl
+++ b/tools/release/bins.pl
@@ -50,14 +50,18 @@ sub runone {
50 50
51 my $o="build-$dir/rockbox.zip"; 51 my $o="build-$dir/rockbox.zip";
52 my $map="build-$dir/rockbox-maps.zip"; 52 my $map="build-$dir/rockbox-maps.zip";
53 my $elf="build-$dir/rockbox-elfs.zip";
53 if (-f $o) { 54 if (-f $o) {
54 my $newo="output/rockbox-$dir-$version.zip"; 55 my $newo="output/rockbox-$dir-$version.zip";
55 my $newmap="output/rockbox-$dir-$version-maps.zip"; 56 my $newmap="output/rockbox-$dir-$version-maps.zip";
57 my $newelf="output/rockbox-$dir-$version-elfs.zip";
56 system("mkdir -p output"); 58 system("mkdir -p output");
57 system("mv $o $newo"); 59 system("mv $o $newo");
58 print "moved $o to $newo\n" if($verbose); 60 print "moved $o to $newo\n" if($verbose);
59 system("mv $map $newmap"); 61 system("mv $map $newmap");
60 print "moved $map to $newmap\n" if($verbose); 62 print "moved $map to $newmap\n" if($verbose);
63 system("mv $elf $newelf");
64 print "moved $elf to $newelf\n" if($verbose);
61 } 65 }
62 66
63 print "remove all contents in build-$dir\n" if($verbose); 67 print "remove all contents in build-$dir\n" if($verbose);
@@ -117,6 +121,9 @@ sub buildit {
117 121
118 print "Run 'make mapzip'\n" if($verbose); 122 print "Run 'make mapzip'\n" if($verbose);
119 `make mapzip`; 123 `make mapzip`;
124
125 print "Run 'make elfzip'\n" if($verbose);
126 `make elfzip`;
120} 127}
121 128
122sub buildfonts { 129sub buildfonts {