summaryrefslogtreecommitdiff
path: root/queryconfig
diff options
context:
space:
mode:
Diffstat (limited to 'queryconfig')
-rwxr-xr-xqueryconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/queryconfig b/queryconfig
index ea319a1..f130931 100755
--- a/queryconfig
+++ b/queryconfig
@@ -61,8 +61,13 @@ if ($type eq 'buildflags') {
die("Specify which buildflag to query\n") unless $argument;
my $result = $cf->{"buildflags:$argument"};
print "$result\n" if defined $result;
+} elsif ($type eq 'hostarch') {
+ my $result = $cf->{"hostarch"};
+ print "$result\n" if defined $result;
} elsif ($type eq 'target' || $type eq 'type' || $type eq 'binarytype' || $type eq 'buildengine' || $type eq 'rawmacros') {
print "$cf->{$type}\n" if $cf->{$type};
+} elsif ($type eq 'repotype') {
+ print join(' ', @{$cf->{$type}})."\n" if $cf->{$type};
} elsif ($type eq 'optflags') {
exit(0) unless $cf->{'optflags'};
my $all = $cf->{'optflags'}->{'*'};