1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 05:03:20 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26926 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-05-17 12:54:45 +00:00
parent 005a65e01d
commit deede16e22

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;
}