summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-17 12:54:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-05-17 12:54:45 +0000
commit984ab9a139ff629821147cd1f5ad3049cf7805a1 (patch)
treed20a653d5cc1eebf5b0de4015aa5390580d4987e
parent17e257925feb520d1ef06be9ca4e59f50cb6e9dc (diff)
downloadmtk-20170518-984ab9a139ff629821147cd1f5ad3049cf7805a1.zip
mtk-20170518-984ab9a139ff629821147cd1f5ad3049cf7805a1.tar.gz
mtk-20170518-984ab9a139ff629821147cd1f5ad3049cf7805a1.tar.bz2
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
-rwxr-xr-xscripts/metadata.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 9cb8465..3de4087 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -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;
}