[buildbot] phase1: dumpinfo.pl: honour source-only flag for subtargets as well

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 2 07:39:40 PDT 2017


jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/3725b7016a8312d88edcd936addabec695dd9ad2

commit 3725b7016a8312d88edcd936addabec695dd9ad2
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Thu Nov 2 15:39:34 2017 +0100

    phase1: dumpinfo.pl: honour source-only flag for subtargets as well
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 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;



More information about the lede-commits mailing list