diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 7b3b74b3c6b..f84bd462fa3 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -72,6 +72,7 @@ sub parse_target_metadata() { } close FILE; foreach my $target (@target) { + next if @{$target->{subtargets}} > 0; @{$target->{profiles}} > 0 or $target->{profiles} = [ { id => 'Default',