From 66fa5b578904f7df61293d6ce5c08966b5db13db Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 7 Dec 2009 09:03:11 +0000 Subject: 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 --- tools/release/bins.pl | 51 +++++++++++++-------------------------------------- 1 file changed, 13 insertions(+), 38 deletions(-) (limited to 'tools/release/bins.pl') 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 @@ #!/usr/bin/perl -$version="3.4"; +require "../builds.pm"; + +$version=$publicrelease; my $verbose; if($ARGV[0] eq "-v") { @@ -73,7 +75,7 @@ sub fonts { chdir "build-$dir"; print "Build fonts in build-$dir\n" if($verbose); - # build the manual(s) + # build the fonts $a = buildfonts($dir, $confnum, $newl); chdir ".."; @@ -98,8 +100,8 @@ sub buildit { `rm -rf * >/dev/null 2>&1`; - my $c = sprintf('printf "%s\n%sn\n" | ../tools/configure', - $confnum, $extra); + my $ram = $extra ? $extra : -1; + my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; print "C: $c\n" if($verbose); `$c`; @@ -119,8 +121,8 @@ sub buildfonts { `rm -rf * >/dev/null 2>&1`; - my $c = sprintf("printf '%s\n%sn\n' | ../tools/configure", - $confnum, $newl?'\n':''); + my $ram = $extra ? $extra : -1; + my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; print "C: $c\n" if($verbose); `$c`; @@ -133,37 +135,10 @@ sub buildfonts { print "cd tools && make\n" if($verbose); `(cd tools && make ) >/dev/null 2>&1`; -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"); +for my $b (&stablebuilds) { + my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; + runone($b, $configname, $builds{b}{ram}); +} +fonts("fonts", "iaudiox5"); -- cgit v1.2.3