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
lede-17.01
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) { 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;
} }