From patchwork Fri Jun 8 12:32:45 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: 137970 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp824073lji; Fri, 8 Jun 2018 05:42:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIfZB7CQmw74Iz1cit8HefJ+18D9gkVq/lYFUNg8vVM1ZL0P55ul2US3+JsppuIPDToK+qm X-Received: by 2002:ac8:2439:: with SMTP id c54-v6mr5797789qtc.21.1528461754528; Fri, 08 Jun 2018 05:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528461754; cv=none; d=google.com; s=arc-20160816; b=bQ6aCoWzS5QrOVdQzVk6Vqyy/csMNr05rt/Ok0rjCXpKQiuZ2N25OrDQo8QhlWCZBV toLpv8dZqS8sqHtnoZdWcVOsJb4zcNylIkllvqFhzAL2f6fXgo8bJ9/wFGFDxfJpT90Q iBg7c6qbie5c4yENK1TmBGK/VOGKnYkRlu7YyW12LX3UywdvxRGMKp6Ai1b7DaYCaAtN ka9H2n4n3WTfDmuTJmi4saz/OwByTuB5eiUp7z/shNWsYti5NjQ55jKAh7L4lHRQxTVA NBmsix2iSqFidEbhFqlZIRXMUkrzm0eEpNN1KbChgg+rRwqZf++fSYj5sCLafm3haqtv 502g== 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=VKcD4RoA/9tkOhuZsmNoiiKxHG8iBprwwDN+Gyk1y50=; b=aCzdprExRKl589EbV/i6fCWZlALpTNJKA+10VBJklXqcxoaQJyTfW9hpDtXOTRaS6m W7rIPhLpSbjgz5scgvtIrKxuLlS3Q5t1MokcOYQy+yVYpRHd1AwtW/0zDbbH+rWrkAoY b2nEz3sq8FquTLBI9SYk7IIgTydxE2hUoO0lggyspDmwEd7hTBI7+Ut4v72So0f8vkDg 5NH9FoMjUqBp9ZL6QdWtByZ5ocoLbEnEvTTqUwtdUSX96Fmd/13s8Dj06ZGQjKQrTzyv jaxnqanWGYy/bUkW0FUoJcStRiYKTYZm6RqIPwlc8+nZrBaePoZx5jrHhp+YSAygUMUy WuuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=dgeorC/I; 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 s29-v6si5447122qtc.147.2018.06.08.05.42.34 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 05:42:34 -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=dgeorC/I; 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]:35396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGiv-0008QO-W6 for patch@linaro.org; Fri, 08 Jun 2018 08:42:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGa3-0001Ff-4o for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGa2-0006HR-D9 for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:23 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:46591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGa2-0006Gt-6e for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:22 -0400 Received: by mail-wr0-x241.google.com with SMTP id v13-v6so13226341wrp.13 for ; Fri, 08 Jun 2018 05:33:22 -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=VKcD4RoA/9tkOhuZsmNoiiKxHG8iBprwwDN+Gyk1y50=; b=dgeorC/IUXtkzxNEEntVF8F83XZ46w1FQojFvGtdTYG2A6TQQzk4Zhc1KmAY6PuMAf F/aOz9pTT7bcfElou03WFiEemU1VpH8Ywu2jU2oZsaKdxbs6uqwFc/Po2CdgglY0pFra 83TrOgPAUYWWZdgv4W2Ov9f1bkL+9gqzGzJdY= 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=VKcD4RoA/9tkOhuZsmNoiiKxHG8iBprwwDN+Gyk1y50=; b=VL58mHoSCHclXU0bUKC86qDAHGRnqDqv4HuTsB8SU7f5JYUERISzCetbyy9/A+oQ3m ty/v9gR+LjjZhP8H7ubcolJHv8CkcC4/I1TxrKK1oEyKs/Eb9FZS35UuNZUEvwBkivcT yTfn41MTls6vM0BPJap7YfUGT0lMqJqYR87XWhsdgVdiIEexO1j5cMIo54FwHsSzIRkm LxMpzuwKdOn6BuJ/jisJqwhI1TrAZWZd+YRR00PWfy0PN8PcxfMXfUU7/MBxZvD0k348 DklUfW0/FnqQCxoDhsmdncpmeTDL/UUJYiLSNNWiP51w5+ExV8NfN1V4Cx4C73xcy5Yn jMGg== X-Gm-Message-State: APt69E2Y6RC5MNA0Ue4pPt8hHF6tqW8VEJWMusOKs3UQ6wUpqMDcqkZf 4oXsCsXGdgJ4Ppt/ADv97SKfIQ== X-Received: by 2002:adf:ba8f:: with SMTP id p15-v6mr5258254wrg.139.1528461201231; Fri, 08 Jun 2018 05:33:21 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 12-v6sm2059378wmt.19.2018.06.08.05.33.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:33:15 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 78B1E3E0B4B; Fri, 8 Jun 2018 13:33:09 +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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:45 +0100 Message-Id: <20180608123307.24773-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-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] [PATCH v6 27/49] tests/tcg: enable building for MIPS 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: Yongbok Kim , =?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 doesn't add any additional tests but enables building the multiarch tests for MIPS using docker cross compilers. We don't have a cross compiler for mips64 big endian though. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- tests/tcg/mips/Makefile.include | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/tcg/mips/Makefile.include -- 2.17.1 diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include new file mode 100644 index 0000000000..a9beceb623 --- /dev/null +++ b/tests/tcg/mips/Makefile.include @@ -0,0 +1,17 @@ +# +# Makefile.include for all MIPs targets +# +# As Debian doesn't support mip64 in big endian mode the only way to +# build BE is to pass a working cross compiler to ./configure +# + +ifeq ($(TARGET_NAME),mips64el) +DOCKER_IMAGE=debian-mips64el-cross +DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc +else ifeq ($(TARGET_NAME),mipsel) +DOCKER_IMAGE=debian-mipsel-cross +DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc +else ifeq ($(TARGET_NAME),mips) +DOCKER_IMAGE=debian-mips-cross +DOCKER_CROSS_COMPILER=mips-linux-gnu-gcc +endif