tests/docker: simplify HOST_ARCH definition
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 May 2023 09:51:45 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 May 2023 08:17:32 +0000 (10:17 +0200)
ARCH is always empty, so just define HOST_ARCH as the result of uname.

Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/docker/Makefile.include

index 94015253254cb84c47da5089270a720710e6468c..142e8605eee98017261d1ee49284cce0f5442c30 100644 (file)
@@ -6,7 +6,7 @@ NULL :=
 SPACE := $(NULL) #
 COMMA := ,
 
-HOST_ARCH = $(if $(ARCH),$(ARCH),$(shell uname -m))
+HOST_ARCH = $(shell uname -m)
 USER = $(if $(NOUSER),,$(shell id -un))
 UID = $(if $(NOUSER),,$(shell id -u))