xen: arm: correct XEN_COMPILE_ARCH autodetection for arm64
PATCH 1/1 xen: arm: correct XEN_COMPILE_ARCH autodetection for arm64
From: Ian Campbell <[email protected]>
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.
--- Config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Config.mk +2 -1
@@ -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)
Signature · 1 line
1.8.4.rc3
Quoted 7 lines · Ian Campbell
From: Ian Campbell <[email protected]>
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 <[email protected]>
Quoted 19 lines
--- Config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Config.mk +2
-1@@ -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)
Signature · 1 line
Julien Grall
Ian Campbell
AppliedQuoted 10 lines · Julien Grall
Quoted 7 lines · Ian Campbell
From: Ian Campbell <[email protected]>
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 <[email protected]>Acked-by Julien Grall <[email protected]>
Applied, thanks.