projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e2579
)
metadata: do not emit feature flag selects for targets which have subtargets - fixes...
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 17 May 2011 12:54:45 +0000
(12:54 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 17 May 2011 12:54:45 +0000
(12:54 +0000)
SVN-Revision: 26926
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index 9cb846539fd7be52039f681ff413ffa60fd3a73b..3de408798004b6df53d40daf4c77c266475c89b2 100755
(executable)
--- 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;
}