From nobody Tue Feb 10 20:48:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529092870154954.7725777498316; Fri, 15 Jun 2018 13:01:10 -0700 (PDT) Received: from localhost ([::1]:49047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuu6-0005EN-63 for importer@patchew.org; Fri, 15 Jun 2018 16:01:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTugu-0002cf-2L for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTugs-0005eM-Vi for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:24 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:38766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTugs-0005dR-Ob for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:22 -0400 Received: by mail-wr0-x242.google.com with SMTP id e18-v6so10983565wrs.5 for ; Fri, 15 Jun 2018 12:47:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n23-v6sm2065062wmh.6.2018.06.15.12.47.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:47:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5734F3E0C65; Fri, 15 Jun 2018 20:47:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ySO5WeTKDXaiwnC91xKOjHzomGpuHQ7DfQsCRJQXOxQ=; b=QEw29apk2m9a5M+9Q9JsKNOcj+ATF6vukUrh7HH6NyEqxUp+zXZMBqW/JqMaR4mkfG FsH49Kkd/m/5MfsbKLk3e2a45S0dG0YLy53JEqvtsQpmY9IlxfEGGsooIEjySl85jhVi 5wHyZVHT6vD5+B2h16EmogdKy+biPh0AhsLs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ySO5WeTKDXaiwnC91xKOjHzomGpuHQ7DfQsCRJQXOxQ=; b=Y9OppzylUb4KZzLCZ/AudErhXT9bu2t04ntFuate5epvkKR7hquXTed5MO9yYv8TJ1 geEoQM4WILLrKjyYX7g+VRfYLSRPgq6+5g74pbshzxDTz8QcgPVHt4i4Bp1e7qVSn5bY 9cpDHgPCUmK9q4aHY/8QalJ0uGu9P3RG4EhvZGz5iL6HbnIVi8qqG5d8mjun78FFVHII lH1MOGk6AMjcSl+ohJFQj7A3hez8d2go3yCK21CgDuffT++tCaTHZAlHLrulvYaC2Bl/ SEFVUywsaDUyKv4oHry4iHAnckSoYsfBgZQNfi77vj0Ac3OmnsMLQsVnL6Ptz93AVx6r aFyA== X-Gm-Message-State: APt69E2YAu728JSZIPI8VKD8YRYXEamMrsYqr+/HPRO3KrfSuTMSKjNL GKPsknX5mCY0FNTBb+008StX6/W9quU= X-Google-Smtp-Source: ADUXVKKN+Yg5Ar8UcQiJlVWYBMb7B8fiDpn6mALpeLpS31y099eybM1ERRB+a1lEf/ugDTCVGayTyQ== X-Received: by 2002:adf:8ab9:: with SMTP id y54-v6mr2638641wry.98.1529092041648; Fri, 15 Jun 2018 12:47:21 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:34 +0100 Message-Id: <20180615194705.28019-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 Subject: [Qemu-devel] [PATCH v7 23/54] tests/tcg: enable building for ARM X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:ARM" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This allows us to use the docker cross compiler image to build these tests. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- v5 - add EXTRA_RUNS for mmap tests --- tests/tcg/arm/Makefile.include | 8 ++++++++ tests/tcg/arm/Makefile.target | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tests/tcg/arm/Makefile.include diff --git a/tests/tcg/arm/Makefile.include b/tests/tcg/arm/Makefile.include new file mode 100644 index 0000000000..8e7eac008f --- /dev/null +++ b/tests/tcg/arm/Makefile.include @@ -0,0 +1,8 @@ +# Makefile.include for all ARM targets +# +# We don't have any bigendian build tools so we only use this for armhf + +ifeq ($(TARGET_NAME),arm) +DOCKER_IMAGE=3Ddebian-armhf-cross +DOCKER_CROSS_COMPILER=3Darm-linux-gnueabihf-gcc +endif diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index bc6962ecc6..0312293dca 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -1,6 +1,6 @@ # -*- Mode: makefile -*- # -# ARM - included from tests/tcg/Makefile.target +# ARM - included from tests/tcg/Makefile # =20 ARM_SRC=3D$(SRC_PATH)/tests/tcg/arm @@ -11,3 +11,6 @@ VPATH +=3D $(ARM_SRC) =20 hello-arm: CFLAGS+=3D-marm -ffreestanding hello-arm: LDFLAGS+=3D-nostdlib + +# On ARM Linux only supports 4k pages +EXTRA_RUNS+=3Drun-test-mmap-4096 --=20 2.17.1