5 require "tools/builds.pm";
16 print "only build $doonly\n" if($verbose);
19 # made once for all targets
24 if($doonly && ($doonly ne $dir)) {
30 print "Build in buildm-$dir\n" if($verbose);
37 my $o="buildm-$dir/manual/rockbox-build.pdf";
39 my $newo="output/rockbox-$dir-$version.pdf";
40 system("mv $o $newo");
41 print "moved $o to $newo\n" if($verbose);
44 $o="buildm-$dir/rockbox-manual.zip";
46 my $newo="output/rockbox-$dir-$version-html.zip";
47 system("mv $o $newo");
48 print "moved $o to $newo\n" if($verbose);
51 print "remove all contents in buildm-$dir\n" if($verbose);
52 system("rm -rf buildm-$dir");
60 `rm -rf * >/dev/null 2>&1`;
62 my $c = "../tools/configure --target=$target --type=m --ram=0";
64 print "C: $c\n" if($verbose);
67 print "Run 'make'\n" if($verbose);
68 `make manual 2>/dev/null`;
70 print "Run 'make manual-zip'\n" if($verbose);
71 `make manual-zip 2>/dev/null`;
74 # run make in tools first to make sure they're up-to-date
75 `(cd tools && make ) >/dev/null 2>&1`;
77 for my $b (&stablebuilds
) {
78 next if (length($builds{$b}{configname
}) > 0); # no variants