summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 7afc388927..b04cd8cc3d 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -233,6 +233,7 @@ EOF
}
if (@{$target->{subtargets}} > 0) {
$confstr .= "\tselect HAS_SUBTARGETS\n";
+ grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends BROKEN\n";
} else {
$confstr .= $features;
}