From patchwork Fri May 25 14:19:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 136912 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3663061lji; Fri, 25 May 2018 07:27:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLR5SpPl10uFO9GlSxVQi6lYMD5OOJL0I8g3oQlURJvWdKhevE7+RsHyZpS/zGEU5gSY+46 X-Received: by 2002:a0c:f742:: with SMTP id e2-v6mr2421837qvo.174.1527258476686; Fri, 25 May 2018 07:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527258476; cv=none; d=google.com; s=arc-20160816; b=F6aKeveBZKlXNSbUwLk4hAGzm4JKIRmS5RDGHYyvZ2fbZ4nYthUpP2xwGEQDddJT5Z +3AoB6rOOB9pJ3MECTJpKV6nxkwNoSLWZviuW8Re8z4KjDRSjzNsOlgexCokDPdEdKc+ XcL28hGpeSsESnX/jTXCmFsaKwmAQ45XHs9ZTddWNkI3ucyEiy0J3o5j5ZW/Wa6M8D3j gobiIz2nou3W4knyPKxWISssr19d5GehL7khDHUTPuRPlKrAnPxwdC8Z3K6IFcX+y2/d +PNJxFfuenhiubFyqDsbteyos2iCoetzpkK6tI76x3c5n5yhqVN8OnIjrmws/RUjd5TK jJaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=b+9UMjDxYy9HVtXf490Sg7xwtkC9ySp21mwtru16fMc=; b=qvIG/hZbhx8VmVUi2M3oKocEwAHfRUAK0LcNgklbcWKAcEakJbhlFHbHwo24GyCSEn RmhTQquiWa7W6I634SafuV5eyl0a7oEmzUfs6op3EJvk1aFXxpMG2ukfPTUDyWZWRB/S YTxjUHw39oaU85ZNbYKe8n7LFMGoeERIAngNU2uM0EF3vkamXdMxfUg6OLo02O02EJMB JT711VhuZgA3rZx/z30m5zhKKbmk/17edjiKUQggjM6PHRbMpxAhX+IV0/ACSo+rFss6 3oU2KzOX0IKQ6CnS/4qxufUBAzipLGhcjAeC6I4zULwrzLwcQQCK1GBksVnNlNxZdaI3 md0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PhZw/F3y; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id c43-v6si1057184qta.21.2018.05.25.07.27.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PhZw/F3y; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDhE-0007E5-3x for patch@linaro.org; Fri, 25 May 2018 10:27:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDYl-0000oB-Py for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDYk-0000Is-K4 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:11 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDYk-0000I4-Ck for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:10 -0400 Received: by mail-wm0-x241.google.com with SMTP id x12-v6so32661457wmc.0 for ; Fri, 25 May 2018 07:19:10 -0700 (PDT) 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=b+9UMjDxYy9HVtXf490Sg7xwtkC9ySp21mwtru16fMc=; b=PhZw/F3ygZTQf9a96kbyS6F6bxswMVd4Guzj0X2/JAVv3TXCyjn++m8jr3KJAadVzq EJXNLVFk8NTHB7DJhWP/Jf/j0bTT8/cMBlmZzOS8YIXrCQWdY5TS+twpBZYy9mPgfsHx D3YqEzyS5Qc19IDQEZdYRjY6mhI71VfCUw8ms= 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=b+9UMjDxYy9HVtXf490Sg7xwtkC9ySp21mwtru16fMc=; b=GTKSZ2a3e21kfeJPmhGvOjB/H72b/PR1h1s8pzt352ZIP4VGkAsXhwUt5N70x+haj7 a47SZyR9zUPlyLZbyDnMvJGnBtU/Zc36mkCTEkXr60FOp4cGQWojeGbi1NzgDvlQ5py/ +IPLHh+/ViPF9jd93Y0kwVW8H8QP/dh2dag/61XQPalj1389gBAMIXQ1T21GoqM5MopC XN9szZ5KktI5e010hAP3nhArSuuNctTIzIiWbHu11cKV1l68ID8dSA6gVM80Aft4Beut 3OCuoyWMDSd736SGm56Jopw0A4lJAQ6U+vSSDvMwzAdN/YKoXrFRGbmrjDk+AfQYeSYl K8xw== X-Gm-Message-State: ALKqPwejl9cmA8i0WCWylU77GUqUcKRUAtcQGqerwS9dOW3KmJAirQc1 nuqrGthttBT+aOjTDL0Igr6fSrxRE7k= X-Received: by 2002:a1c:8012:: with SMTP id b18-v6mr1765912wmd.13.1527257948777; Fri, 25 May 2018 07:19:08 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 75-v6sm7553119wmw.37.2018.05.25.07.19.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:04 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 2BECD3E05B2; Fri, 25 May 2018 15:19:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=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 Date: Fri, 25 May 2018 15:19:00 +0100 Message-Id: <20180525141903.6257-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141903.6257-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141903.6257-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v5 26/49] 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: Peter Maydell , "open list:ARM" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows us to use the docker cross compiler image to build these tests. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- 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 -- 2.17.0 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=debian-armhf-cross +DOCKER_CROSS_COMPILER=arm-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 # ARM_SRC=$(SRC_PATH)/tests/tcg/arm @@ -11,3 +11,6 @@ VPATH += $(ARM_SRC) hello-arm: CFLAGS+=-marm -ffreestanding hello-arm: LDFLAGS+=-nostdlib + +# On ARM Linux only supports 4k pages +EXTRA_RUNS+=run-test-mmap-4096