From 3725b7016a8312d88edcd936addabec695dd9ad2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 2 Nov 2017 15:39:34 +0100 Subject: [PATCH] phase1: dumpinfo.pl: honour source-only flag for subtargets as well Signed-off-by: Jo-Philipp Wich --- phase1/dumpinfo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/dumpinfo.pl b/phase1/dumpinfo.pl index 3e9bc4c..aa97f8d 100755 --- a/phase1/dumpinfo.pl +++ b/phase1/dumpinfo.pl @@ -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; -- 2.30.2