metadata: do not emit feature flag selects for targets which have subtargets - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon

SVN-Revision: 26926
This commit is contained in:
Felix Fietkau 2011-05-17 12:54:45 +00:00
parent 17e257925f
commit 984ab9a139
1 changed files with 2 additions and 1 deletions

View File

@ -227,6 +227,8 @@ EOF
}
if (@{$target->{subtargets}} > 0) {
$confstr .= "\tselect HAS_SUBTARGETS\n";
} else {
$confstr .= $features;
}
if ($target->{arch} =~ /\w/) {
@ -246,7 +248,6 @@ EOF
$flags =~ /\+/ and $mode = "select";
$flags =~ /@/ and $confstr .= "\t$mode $name\n";
}
$confstr .= $features;
$confstr .= "$help\n\n";
print $confstr;
}