phase1: dumpinfo.pl: honour source-only flag for subtargets as well
authorJo-Philipp Wich <jo@mein.io>
Thu, 2 Nov 2017 14:39:34 +0000 (15:39 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 2 Nov 2017 14:39:34 +0000 (15:39 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/dumpinfo.pl

index 3e9bc4c6e16eb227823adea7d039c6edba864aa3..aa97f8d60379076a41b968402e9337cea824ece5 100755 (executable)
@@ -28,7 +28,7 @@ sub parse_targetinfo {
                        }
                        elsif ($line =~ /^@\@$/) {
                                if ($target_name && $target_arch &&
-                                   !grep { $_ eq 'broken' } @target_features) {
+                                   !grep { $_ eq 'broken' or $_ eq 'source-only' } @target_features) {
                                        $targets{$target_name} = $target_arch;
                                        $architectures{$target_arch} ||= [];
                                        push @{$architectures{$target_arch}}, $target_name;