From: Felix Fietkau Date: Tue, 17 May 2011 12:54:45 +0000 (+0000) Subject: metadata: do not emit feature flag selects for targets which have subtargets - fixes... X-Git-Tag: reboot~16734 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=984ab9a139ff629821147cd1f5ad3049cf7805a1;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 9cb846539fd7..3de408798004 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; }