scrips/metadata.pl: fix broken targets with subtargets being selectable
r26926 moved all target features to subtargets if present, which had the side effect that broken targets are available for selection, just without any available subtargets (since they are still marked as broken). Fix this by explicitly letting the top level target also depend on broken. SVN-Revision: 33892
This commit is contained in:
parent
3cf25176a4
commit
53c014e221
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ EOF
|
||||||
}
|
}
|
||||||
if (@{$target->{subtargets}} > 0) {
|
if (@{$target->{subtargets}} > 0) {
|
||||||
$confstr .= "\tselect HAS_SUBTARGETS\n";
|
$confstr .= "\tselect HAS_SUBTARGETS\n";
|
||||||
|
grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends BROKEN\n";
|
||||||
} else {
|
} else {
|
||||||
$confstr .= $features;
|
$confstr .= $features;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue