diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-05-17 12:54:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-05-17 12:54:45 +0000 |
commit | f7beb0c7a62adb0cb1d4a285f39bad1387d3349d (patch) | |
tree | a5273d95427651d319baee2d914bef5580fcbb8d /scripts | |
parent | a1ea2a188d39ec83cb82acc87a6632fe64dcb17a (diff) | |
download | upstream-f7beb0c7a62adb0cb1d4a285f39bad1387d3349d.tar.gz upstream-f7beb0c7a62adb0cb1d4a285f39bad1387d3349d.tar.bz2 upstream-f7beb0c7a62adb0cb1d4a285f39bad1387d3349d.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/metadata.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 9cb846539f..3de4087980 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; } |