scripts/metadata.pl: do not emit ARCH selection for a target if it has subtargets

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45112
owl
Felix Fietkau 2015-03-29 04:31:15 +00:00
parent 4a7f1bb54c
commit 2900f6984f
1 changed files with 3 additions and 3 deletions

View File

@ -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";
}
}
foreach my $dep (@{$target->{depends}}) {
my $mode = "depends on";
my $flags;