$arch, on arm64, defaults to 'aarch64', and later in the script is replaced
by 'arm64'. Intentional or not, document that the name 'aarch64' is also
supported when configuring for the arm64 architecture. This has been the
case since the initial commit that added support for the arm64
architecture, commit 39ac3f8494be ("arm64: initial drop").

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 (aarch64). ARCH can be 
one of:
                           arm, arm64/aarch64, i386, ppc64, riscv32, riscv64, 
s390x, x86_64

*Worth pointing out that the default architecture is 'aarch64', even though
the rest of the help text doesn't have it as one of the supported
architectures.

Signed-off-by: Alexandru Elisei <alexandru.eli...@arm.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 86cf1da36467..5b0a2d7f39c0 100755
--- a/configure
+++ b/configure
@@ -47,7 +47,7 @@ usage() {
 
        Options include:
            --arch=ARCH            architecture to compile for ($arch). ARCH 
can be one of:
-                                  arm, arm64, i386, ppc64, riscv32, riscv64, 
s390x, x86_64
+                                  arm, arm64/aarch64, i386, ppc64, riscv32, 
riscv64, s390x, x86_64
            --processor=PROCESSOR  processor to compile for ($arch)
            --target=TARGET        target platform that the tests will be 
running on (qemu or
                                   kvmtool, default is qemu) (arm/arm64 only)
-- 
2.47.1


Reply via email to