From 2d8a4e1fdd0ce07e9db009819e59eeb01225f129 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sun, 29 May 2022 18:56:16 +0200 Subject: [PATCH] package/kvm-unit-tests: fix build on big endian aarch64 targets When building with BR2_cortex_a76 in big endian mode, the build of the kvm-unit-tests is currently failing since the "--arch" option of the configure script is not set right. We also have to look at BR2_aarch64_be in this case to get this initialized properly. Fixes: f7228dadd371 ("package/kvm-unit-tests: add more arm support") Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Thomas Petazzoni --- package/kvm-unit-tests/kvm-unit-tests.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk index fd07ca85c3..dd8f153710 100644 --- a/package/kvm-unit-tests/kvm-unit-tests.mk +++ b/package/kvm-unit-tests/kvm-unit-tests.mk @@ -10,7 +10,7 @@ KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive KVM_UNIT_TESTS_LICENSE = GPL-2.0, LGPL-2.0 KVM_UNIT_TESTS_LICENSE_FILES = COPYRIGHT -ifeq ($(BR2_aarch64),y) +ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) KVM_UNIT_TESTS_ARCH = aarch64 else ifeq ($(BR2_arm),y) KVM_UNIT_TESTS_ARCH = arm