From patchwork Thu Jun 21 06:25:32 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: 139482 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1695646lji; Wed, 20 Jun 2018 23:58:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLvtv1sFiJ/EbWafrBjx8Zel62Adn+l5GnHM6sDUuUrgwWKltHTn71CbPns2XeO2Qqbwvto X-Received: by 2002:ae9:df05:: with SMTP id t5-v6mr20196581qkf.192.1529564290162; Wed, 20 Jun 2018 23:58:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529564290; cv=none; d=google.com; s=arc-20160816; b=b2sNcpG+CQuojSe70H3Wtu/++mIATQo4aTj/aUzSThECIHfXwe70zrDipD4I2I3DOh WSoss9w5Q7u0LLf087yM4SiKttXX0R8ftje/MFqNIeRaUyiyndBZ0hwUo4fh7S30kP84 rYLtqrqawCAoI0I0HUK5NhI5Zd/3qE40sS4BWbxpOQmLago2g3zP/syhu9Cot7RSlTI7 I9iROPUzKE8qVIbwCzTspor1X+SaO9C7Aabod1WEUlWIOGr1eZ2NXy64KwBqQwkw+EM4 5lwnMoRn06odyC57G/9rT1am9TeKs/pFEZ6+E+cW8MbP4PggBW9ZhaAw7q1wYOJkfi4P f4Qw== 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=BfZi2h96xWpIbEFPugqKgXRCqgwSElfvK04VvcT9rPg=; b=CJo+9dH5fbS/aFW8x5NJr0hlbqln1Jo2fBxEZ497zG5MNWYa6DFBNJjvRKxeYvWP8A 7Q/xfZdv2aIwYmLP2wfZM9E3F/LCrH/rqRf7KVnxglVgZ7ed30zc3KBeMys4F3JCPPwS fRxPmrdSjQP9a2gxm+wKBEP0UyozafstA0YishNbljMMv31i2Ps66C4NzLu5qK6Bi5hc i/JK75mbpR5Q73kuMbvRLAF6xvIRgog0otzsJoW3hbUfVHNHlUq5KIVg8vtQxW9Be3+h BOcWu6Tph35LUkMhksgkMzm3tQWv+zw+mQg+21gdZwWl7vp5ewjgIZmyIbGnv4jOTtoX ZPJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PBHtBrz3; 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 i12-v6si344041qtp.371.2018.06.20.23.58.09 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 20 Jun 2018 23:58:10 -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=PBHtBrz3; 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]:53412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtXl-0000qD-Ic for patch@linaro.org; Thu, 21 Jun 2018 02:58:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtI9-0004wh-HC for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVtI8-0003Mp-Fa for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:01 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:39884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVtI8-0003ME-91 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:00 -0400 Received: by mail-wr0-x241.google.com with SMTP id w7-v6so1853728wrn.6 for ; Wed, 20 Jun 2018 23:42:00 -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=BfZi2h96xWpIbEFPugqKgXRCqgwSElfvK04VvcT9rPg=; b=PBHtBrz3DwhJXMg87Z9dOJX7hrrDluSj0eSQHaL/Ratfy4GnrVkh1Rnmv6fsk6Dqw8 Sfe2ZH2EhebnPELeE9AOniGmLedtzg7w/jWAll2LjUIlsj5n9tPxPc3BzryNK5UPvxOq hg0x3tjMqsM+jHAjzxPJX03ivDiNLJqvWxno4= 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=BfZi2h96xWpIbEFPugqKgXRCqgwSElfvK04VvcT9rPg=; b=A00du9PQzYcY7tek8Etf6147LfrfP0SiFPtbnHjAG/tz5jrYWJuyRUJ+RYLXWJthaN TTiWShg2H4jiQ93HodgSJc9nBvW6FBBmaOBzNAwe3vepsUsRp6oo28vFesWE/ew6qIpz 1AffdpevnhzXbChaNTDCcRVqbXbPMIpCs8zvzyoqoIrmkwRAL2bHE87baspTuRde0bac RkeVyUnCT2mM/c58a7bQHny0tWJ19J/DGEU9jB2mNzVtqRIjuk46/s75sUj/C7D7GJwy uZzh52m7JVKaB9sd11GHn2VjFgkGCXS71KmC2GR4QG2/434NzmMwc4XUmuCVT6j10R3/ EfsA== X-Gm-Message-State: APt69E1njUUk7SZHNPmku/0QiJaq/i6M2ftuebe9fb2afLZsduiAbpnn flRB/pDhxIczYvuwxR2MMdlbEg== X-Received: by 2002:adf:8361:: with SMTP id 88-v6mr19581675wrd.17.1529563319208; Wed, 20 Jun 2018 23:41:59 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h4-v6sm6191040wre.89.2018.06.20.23.41.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:41:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 46A053E00CB; Thu, 21 Jun 2018 07:26:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:32 +0100 Message-Id: <20180621062605.941-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-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:c0c::241 Subject: [Qemu-devel] [PULL v2 24/57] 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, "open list:ARM" , famz@redhat.com, aurelien@aurel32.net 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é -- 2.17.1 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