From 36a81eb9b98ac7b1dff0d6658dba0255dd579f5f Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 7 Dec 2009 09:17:48 +0000 Subject: Reverted r23881 mistakenly committed to branch. git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657 --- tools/release/bins.pl | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 13 deletions(-) (limited to 'tools/release/bins.pl') 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 @@ #!/usr/bin/perl -require "../builds.pm"; - -$version=$publicrelease; +$version="3.4"; my $verbose; if($ARGV[0] eq "-v") { @@ -75,7 +73,7 @@ sub fonts { chdir "build-$dir"; print "Build fonts in build-$dir\n" if($verbose); - # build the fonts + # build the manual(s) $a = buildfonts($dir, $confnum, $newl); chdir ".."; @@ -100,8 +98,8 @@ sub buildit { `rm -rf * >/dev/null 2>&1`; - my $ram = $extra ? $extra : -1; - my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; + my $c = sprintf('printf "%s\n%sn\n" | ../tools/configure', + $confnum, $extra); print "C: $c\n" if($verbose); `$c`; @@ -121,8 +119,8 @@ sub buildfonts { `rm -rf * >/dev/null 2>&1`; - my $ram = $extra ? $extra : -1; - my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; + my $c = sprintf("printf '%s\n%sn\n' | ../tools/configure", + $confnum, $newl?'\n':''); print "C: $c\n" if($verbose); `$c`; @@ -135,10 +133,37 @@ sub buildfonts { print "cd tools && make\n" if($verbose); `(cd tools && make ) >/dev/null 2>&1`; -for my $b (&stablebuilds) { - my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; - runone($b, $configname, $builds{b}{ram}); -} +runone("player", "player", '\n'); +runone("recorder", "recorder", '\n'); +runone("recorder8mb", "recorder", '8\n'); +runone("fmrecorder", "fmrecorder", '\n'); +runone("fmrecorder8mb", "fmrecorder", '8\n'); +runone("recorderv2", "recorderv2", '\n'); +runone("ondiosp", "ondiosp", '\n'); +runone("ondiofm", "ondiofm", '\n'); +runone("h100", "h100"); +runone("h120", "h120"); +runone("h300", "h300"); +runone("ipodcolor", "ipodcolor"); +runone("ipodnano", "ipodnano"); +runone("ipod4gray", "ipod4g"); +runone("ipodvideo", "ipodvideo", '32\n'); +runone("ipodvideo64mb", "ipodvideo", '64\n'); +runone("ipod3g", "ipod3g"); +runone("ipod1g2g", "ipod1g2g"); +runone("iaudiox5", "x5"); +runone("iaudiom5", "m5"); +runone("iaudiom3", "m3"); +runone("ipodmini1g", "ipodmini"); +runone("ipodmini2g", "ipodmini2g"); +runone("h10", "h10"); +runone("h10_5gb", "h10_5gb"); +runone("gigabeatf", "gigabeatf"); +runone("sansae200", "e200"); +runone("sansac200", "c200"); +#runone("mrobe500", "mrobe500"); +runone("mrobe100", "mrobe100"); +runone("cowond2", "cowond2"); +fonts("fonts", "x5"); -fonts("fonts", "iaudiox5"); -- cgit v1.2.3