[kvm-unit-tests PATCH v4 1/5] configure: arm64: Don't display 'aarch64' as the default architecture

Jean-Philippe Brucker jean-philippe at linaro.org
Tue Apr 8 06:20:50 PDT 2025


From: Alexandru Elisei <alexandru.elisei at arm.com>

--arch=aarch64, intentional or not, has been supported since the initial
arm64 support, commit 39ac3f8494be ("arm64: initial drop"). However,
"aarch64" does not show up in the list of supported architectures, but
it's displayed as the default architecture if doing ./configure --help
on an arm64 machine.

The help text for --arch changes from:

   --arch=ARCH            architecture to compile for (aarch64). ARCH can be one of:
                           arm, arm64, i386, ppc64, riscv32, riscv64, s390x, x86_64

to:

    --arch=ARCH            architecture to compile for (arm64). ARCH can be one of:
                           arm, arm64, i386, ppc64, riscv32, riscv64, s390x, x86_64

Signed-off-by: Alexandru Elisei <alexandru.elisei at arm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe at linaro.org>
Reviewed-by: Alexandru Elisei <alexandru.elisei at arm.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 52904d3a..010c68ff 100755
--- a/configure
+++ b/configure
@@ -43,6 +43,7 @@ else
 fi
 
 usage() {
+    [ "$arch" = "aarch64" ] && arch="arm64"
     cat <<-EOF
 	Usage: $0 [options]
 
-- 
2.49.0




More information about the kvm-riscv mailing list