projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a7f1bb
)
scripts/metadata.pl: do not emit ARCH selection for a target if it has subtargets
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Mar 2015 04:31:15 +0000
(
04:31
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Mar 2015 04:31:15 +0000
(
04:31
+0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45112
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index 92923ea07aa09a56acf82dbfeb04267410cf5c40..54341c458fd78747eae0219a863c1b5cd1f358a2 100755
(executable)
--- a/
scripts/metadata.pl
+++ b/
scripts/metadata.pl
@@
-205,11
+205,11
@@
EOF
grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends on BROKEN\n";
} else {
$confstr .= $features;
+ if ($target->{arch} =~ /\w/) {
+ $confstr .= "\tselect $target->{arch}\n";
+ }
}
- if ($target->{arch} =~ /\w/) {
- $confstr .= "\tselect $target->{arch}\n";
- }
foreach my $dep (@{$target->{depends}}) {
my $mode = "depends on";
my $flags;