summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/metadata.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 92923ea07a..54341c458f 100755
--- 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;