1
0
Fork 0
forked from len0rd/rockbox
foxbox/tools/list_targets.pl
Solomon Peachy 6f1e67e5e3 builds: Add an explicit 'simbuilds' list
It includes all targets that have a working simulator build.

 * All stable targets except those that are flagged as bad
 * All unstable targets that are flagged as good

Change-Id: Id0e20a10af72236c819077f919ee5cc168ebf14e
2024-06-30 16:25:58 -04:00

38 lines
1 KiB
Perl
Executable file

#!/usr/bin/perl
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
#
# List all targets in builds.pm, categorized by target status.
require "./builds.pm";
print "Retired:\n";
for my $b (&stablebuilds) {
print " " , $builds{$b}{name} , "\n" if($builds{$b}{status} == 0);
}
print "Stable:\n";
for my $b (&stablebuilds) {
print " " , $builds{$b}{name} , "\n" if($builds{$b}{status} != 0);
}
print "Unstable:\n";
for my $b (&usablebuilds) {
print " " , $builds{$b}{name} , "\n";
}
print "Unusable:\n";
for my $b (&allbuilds) {
print " " , $builds{$b}{name} , "\n" if($builds{$b}{status} == 1);
}
print "Simulators:\n";
for my $b (&simbuilds) {
print " " , $builds{$b}{name} , "\n";
}