From patchwork Fri May 25 14:19:02 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: 136916 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3666252lji; Fri, 25 May 2018 07:30:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKKadwxhWS1Dsj4ENqCWBD1Q2hkDk8kthreXiJRnnx+jwNI8/Fa/fABDN2gs7aZi4UgA6iq X-Received: by 2002:ac8:f11:: with SMTP id e17-v6mr2510078qtk.261.1527258650932; Fri, 25 May 2018 07:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527258650; cv=none; d=google.com; s=arc-20160816; b=Xcw8fQCc8dh1PQ+xO41A4o7I5d0YGWtpGzeFvrGbbSXRfXbW137175bYvVEiGyEuzR /qsZ8Ss1m6hHnQ4ylPCOAXjCqdFEiY10y9QsWjAvOXjG20f58lGoXF7yfoYxnkWD6O/6 5ZXaM3FrnMOPpZOQSkw/T/qUJf6FI1QlNXV8MVMcMliJJ+LqK8/rCkCDg/Bogc0uuiJK izzoCl9fcJT1idOWO59o+7UMmTiv+IWzthAEMFAW3sL11a9phWI10UDfX0QQwLC8Mflc gqwTBB0H5H1wmOcUoZ6srPohJANZHakGiR7H1fO/mCU8PiRCP11s1cSBowlTAzg6wW50 lzQA== 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=68Rv+iZHkRid9jzXyBDyYkbCPm2jdgKrMR8EXPY/iTs=; b=CinuxnsoOQJ/BjihwvoqMfSmWrrbUao1z+CdaiRCxEqCwOQpiqdoVAn7YeANjp7qGB 028AwrXto+K9AIBIkbizECMDEm7OziZwrgw02VN7kcVeDXGgQfHPyKYezRk8bwPe5DMN RTnU9FNTzlXEdIKd1a4Paap+44xlavMfx3kYys03hrbSDXFOBXrWqVJEBJwOajTbSzLJ LT8nKPIwmpFvWsKdJCWWDffzzCZTK7o5iA9kS6MxzyoNqiaOGz0MEwWxj1bDOsLG2q/g bSVaTij6sMSRBNVs51+lB6m4bgaLgN2+IFNKOHXsjppefu7cueekNTBhJ51CqNZCDCPx 6iRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=N/Kpeu1v; 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 n17-v6si4516281qvc.250.2018.05.25.07.30.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:30:50 -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=N/Kpeu1v; 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]:44348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDk2-0001LR-7g for patch@linaro.org; Fri, 25 May 2018 10:30:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDYv-0000x5-CX for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDYu-0000Oc-Gx for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:21 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:35827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDYu-0000OH-Ao for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:20 -0400 Received: by mail-wr0-x241.google.com with SMTP id i14-v6so9546257wre.2 for ; Fri, 25 May 2018 07:19:20 -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=68Rv+iZHkRid9jzXyBDyYkbCPm2jdgKrMR8EXPY/iTs=; b=N/Kpeu1vz5KLc7DQ+4mjQUbea7qGArtRfgk2s/SkegeBfeBs0qRemqbZaUFFwbaxOL /XDf4W3MTY1bS6SWV0czYcIjBopyoHWCeyymXDh7Hqdzo/m4eY+suwtLa0NG5hXX3a3i r/fE8CoISLojpu9AKW7aYU2OUcocJEnXgK1uA= 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=68Rv+iZHkRid9jzXyBDyYkbCPm2jdgKrMR8EXPY/iTs=; b=bBhoFJbSg6GjF9ZDw3ZTVDJQ9WaD8k7BEcCcCLCLRYNrTpnLXf7dUNqvNk3gIwGo3t RrixPj5RrF13A7fNAa1z/211HbJvKedFW5xVZMmjrN8OKud2/8YecHd6SG6xJi1b31q7 QOWC4JVbReLESueOJFMMVK4KgJJxuN4mPmu7QJHGBoHSGWDYm+6Qw1h17zJo701h9qp3 XKjddolG2r1CnFa3TP8T6NbqBT+vXkp4fAMrYaPXa/i9rYmpd+08cNbQKsCd3ItQY+vD U0CYit0V9ZAPMynlUnAOvwj0WoFaiGUfyirBX5Q0EqFZH24Dyb1VXRzpk+NKTNZ0HaJi 3C5w== X-Gm-Message-State: ALKqPwd0Yh+M3j65cpgvbwHrpfesP300vPTd/V6+IJ6afNFT6X+CfQBl D5bG1V4SC3hiPDd6PUpvxrtIDA== X-Received: by 2002:adf:9986:: with SMTP id y6-v6mr2542127wrb.40.1527257959347; Fri, 25 May 2018 07:19:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y11-v6sm17802876wrc.93.2018.05.25.07.19.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:14 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E2B5D3E027A; Fri, 25 May 2018 15:19:10 +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:02 +0100 Message-Id: <20180525141910.6384-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141910.6384-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141910.6384-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 v5 31/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.0 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