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

View File

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