From patchwork Thu Apr 19 13:58:49 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: 133794 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp701760ljf; Thu, 19 Apr 2018 07:26:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrI4+4SQprugZVjLjoa3wq2evAUnM0xvhsmAZrwPHPj+1yGSIUJ+/G1rOeEh4xFS/P6IWRs X-Received: by 10.233.216.67 with SMTP id u64mr5851450qkf.137.1524148001240; Thu, 19 Apr 2018 07:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524148001; cv=none; d=google.com; s=arc-20160816; b=YqvJwzFJ8K8IJ3BQMqX5wtbO8n6/Xj1fpIm+zwLzmqordxfjHpuJTxl7Gq4DZPhw30 WxDEcRfEkDe9yFEFtvRdG6IeIgxifR3oOFMG2GBy7Yx+HxWaUs+xy7zeR4eLv7pCOzvb mHtll7jtI2O/+1qv1/zM+lG2RLlYpWN6+/78Y4iquMACy+BDDIsraofioTV7MP1TaXrQ iClxsflA6Sd21b1bezGoPgmXFKnzwoJXj1i/w5sDF/0ncjVe8YKrvd2fBh7MqbDcPOcP DPduqMsDyOWqxn5TOqDLdxzaiNgV7Bq9UgJXsGx+n58M+Gx2g3Fb26Y0w2UYNZ1l5Z/W OVJw== 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=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=b44EDq9qjLNjzioyTh1fS39zUlk8pAIXwuKpVOT/3imS4oTkaTVNQ+kz0YybfoaIoi nQ0hXMVXLgZ81jE2krrSC7Y0oecF97li5XHt9YnZB1UdoM6WK/CLJ5STY1LsMXXv9xkj j5hobTtyWnXWYWKfgkU3+ex9kJQ8owFae/LPOyvoNa5Pi98mYD8LrEc+lge1yUCmS9Hf USBsPONZydirjOpGbJJMCJ0C4WnxaCCu/FwifPdj7FiRelYxOFHViK27TY8H/ESckH2b Yc4CXUzSfpT7AKBNn0epxwb7jsoj3z9BwUR1Nw87R70DFaHJ0k+j3a4AUo+ujYnOQiyv KVhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZEz8gHTb; 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 h34si494096qvc.17.2018.04.19.07.26.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 07:26:41 -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=ZEz8gHTb; 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]:50747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9AWG-0007PU-IL for patch@linaro.org; Thu, 19 Apr 2018 10:26:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9AE1-0004kQ-3Q for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9ADu-0005PK-IV for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:07:49 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:33673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9ADu-0005O5-B7 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:07:42 -0400 Received: by mail-wr0-x242.google.com with SMTP id z73-v6so14456909wrb.0 for ; Thu, 19 Apr 2018 07:07:42 -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=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=ZEz8gHTb4BEx7HMPO6JHAX8WtSlEuLNMEdP7CNm+LY8yVbP5bUzz8dc+z4W3wXbTZQ Ndinff3Gcpjyt6Jsn1+o0ySiMtEjcVJNIkGyGd7BhOadk+gaANt6dmyh/mEOgTNdWs4q ttV+/h9b/bzE0AHCFdVlAIzgCiYX+/e+ZBoKI= 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=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=M/yFAGzQzezCIkabRFfF9KtHnor2d5xmFACCrRagfXf1Fi/B9m4nAXnmlJNNvp9zLR n3YvZc/4M+wyNNO6MEagRYwZLyGBOeYAXtIvJ+xtJF9PlX/bXEJNubUiQGArBS6jwmdO npczcwQN2WiQeUEm9aQfZi+Ha6bwoDhXXGXkp/kClum0f3Xou1Rr69v3Q0r76/Jcqb/6 4IUE85W0q0iGi1/pq9ONg+4yAv3uHtkPfKz3dKb0UxzPdJfo3QSC1vqCOZBoxq7jThVy 7UtpIH0CVhgrmnv3KA+bK1z6kNTFfQjCLVF1/JVD7MvnGmR1hiCNUBv5kNqIiwkjYs2C WMtQ== X-Gm-Message-State: ALQs6tCNKJ7rONUjpdfLs/WxBT7ELBUI0YJhyuCTNnDd1HDQJMVjLnY1 oIPlHYbh8f9M3sKUw2wbJk6eig== X-Received: by 10.28.234.206 with SMTP id g75mr4624755wmi.76.1524146861358; Thu, 19 Apr 2018 07:07:41 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q81sm5111478wmg.8.2018.04.19.07.07.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:07:37 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DC6013E06C8; Thu, 19 Apr 2018 14:59:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, 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: Thu, 19 Apr 2018 14:58:49 +0100 Message-Id: <20180419135901.30035-32-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419135901.30035-1-alex.bennee@linaro.org> References: <20180419135901.30035-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::242 Subject: [Qemu-devel] [PATCH v2 31/43] 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 --- 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