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
This commit is contained in:
Alex Parker 2011-02-20 20:07:41 +00:00
parent 745406a9f0
commit cdce4ddf0d

View file

@ -50,14 +50,18 @@ sub runone {
my $o="build-$dir/rockbox.zip"; my $o="build-$dir/rockbox.zip";
my $map="build-$dir/rockbox-maps.zip"; my $map="build-$dir/rockbox-maps.zip";
my $elf="build-$dir/rockbox-elfs.zip";
if (-f $o) { if (-f $o) {
my $newo="output/rockbox-$dir-$version.zip"; my $newo="output/rockbox-$dir-$version.zip";
my $newmap="output/rockbox-$dir-$version-maps.zip"; my $newmap="output/rockbox-$dir-$version-maps.zip";
my $newelf="output/rockbox-$dir-$version-elfs.zip";
system("mkdir -p output"); system("mkdir -p output");
system("mv $o $newo"); system("mv $o $newo");
print "moved $o to $newo\n" if($verbose); print "moved $o to $newo\n" if($verbose);
system("mv $map $newmap"); system("mv $map $newmap");
print "moved $map to $newmap\n" if($verbose); print "moved $map to $newmap\n" if($verbose);
system("mv $elf $newelf");
print "moved $elf to $newelf\n" if($verbose);
} }
print "remove all contents in build-$dir\n" if($verbose); print "remove all contents in build-$dir\n" if($verbose);
@ -117,6 +121,9 @@ sub buildit {
print "Run 'make mapzip'\n" if($verbose); print "Run 'make mapzip'\n" if($verbose);
`make mapzip`; `make mapzip`;
print "Run 'make elfzip'\n" if($verbose);
`make elfzip`;
} }
sub buildfonts { sub buildfonts {