aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl3
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;
}