xen: arm: correct XEN_COMPILE_ARCH autodetection for arm64
authorIan Campbell <ian.campbell@citrix.com>
Tue, 22 Oct 2013 16:12:14 +0000 (17:12 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Oct 2013 13:16:49 +0000 (14:16 +0100)
At least on aarch64 openSUSE running with qemu-user-aarch64 "uname -m" reports
"aarch64" and not "armv8" so include that in the seddery. There's no harm
leaving the existing armv8 rune too so do so.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Config.mk

index 1879454c1ab2a791ea51b164a7b0755226535456..7f3d8c7d7535cb4b1881b7021d124e70a51799d5 100644 (file)
--- a/Config.mk
+++ b/Config.mk
@@ -24,7 +24,8 @@ coverage ?= n
 
 XEN_COMPILE_ARCH    ?= $(shell uname -m | sed -e s/i.86/x86_32/ \
                          -e s/i86pc/x86_32/ -e s/amd64/x86_64/ \
-                         -e s/armv7.*/arm32/ -e s/armv8.*/arm64/)
+                         -e s/armv7.*/arm32/ -e s/armv8.*/arm64/ \
+                         -e s/aarch64/arm64/)
 
 XEN_TARGET_ARCH     ?= $(XEN_COMPILE_ARCH)
 XEN_OS              ?= $(shell uname -s)