From patchwork Tue Jun 19 15:44:07 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: 139173 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5379660lji; Tue, 19 Jun 2018 08:58:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKINDw0h47XgS4Ka/33wYyGaNWy22Xc1mvyRbgrEHtmuBrdPj5DaRevgsIFG6w3sN1nhARWL X-Received: by 2002:a0c:b52c:: with SMTP id d44-v6mr15034809qve.34.1529423909892; Tue, 19 Jun 2018 08:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529423909; cv=none; d=google.com; s=arc-20160816; b=sex1hQjx1IwI1hHmJKogRHmb8qt5TL+BB++13ZfeY9YVR1aXDexeYp6RfI82gtmWbP fYEOsl//6ivFfNSuBByAmhTVKpTcK8Cr8MnAM2YpdgONPO/LgE3mzeuwPxBKpAmMPn4Y Pc3fPt7A+F2Q1XObIOUb2wcJu1OymqLyfPPoqHqqWuDAx730RZf1z4H0QUeiHsad+OQ3 FrzGWZh+zRs7CtHEIMjBvmp61NfDE2sTUlYPc4mDiPRqMRTUwQ4FnayfGm0IH8HhfDWO or8cV1FIRZhOaDIuj9qjSv2G8u1n8XbEnnj+0rAu22I5JFvqnM3/bw/QCK8miMCIlqio 5NqQ== 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=hovLwbXoelp2Q0LlumHIKv2D9bfMgHuSE79F6pxdJyQ=; b=qNBGOLi9U55tBe/5sWicq/Vi5E5fz4RubCcH+RbX9Yfn6sjlmdUJI1dDUAK/aD6Yl/ ZuZc2e/1iu5ijd0jAuNghvoR8Zn0joSNu/DrF04EYGzVg2BacJC/fz3+xA7xqHPiw8+z lUrMFt+JAhO1xKZA2NsnE/JCK9US9vQnoaWgK/FZMr4ZebdZ52zqRJu4MpQ5O4xqSjiK 7SLu2qJzw7/INX8FL9sxgEL/sosg5RIxD7Cm+999dndvBbA9aX3k5tV2FY8q4u77I+/O Bc5GFiGszopyrsryxR2DUjvQ61zO0j3xsyW5+ydSKRSp1c7PsK8r5xES7H64OlZbNEId srdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NnffFBXO; 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 3-v6si36140qvc.142.2018.06.19.08.58.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 08:58:29 -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=NnffFBXO; 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]:43399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJ1Z-0000I0-8P for patch@linaro.org; Tue, 19 Jun 2018 11:58:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvD-00042j-6y for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvA-0001gI-EB for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:55 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:32918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIv5-0001cR-PW for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:52 -0400 Received: by mail-wm0-x243.google.com with SMTP id z6-v6so19402098wma.0 for ; Tue, 19 Jun 2018 08:51:47 -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=hovLwbXoelp2Q0LlumHIKv2D9bfMgHuSE79F6pxdJyQ=; b=NnffFBXOopfizeaFLOsotwenyJ5k1c3R4fAg9HxX47v2/DqISFfEz/OvquAtdPsEoE STrNPcp5l9Y/A0dXjZbD1IbJUaPmm+K+LRsH2o9FGN5HMEoyqQVGHRYTq28M5S6I69fm apejl06pNsVdwo1epltjkydcPSSSfbC8ygIPA= 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=hovLwbXoelp2Q0LlumHIKv2D9bfMgHuSE79F6pxdJyQ=; b=k/KpDkKMz/dqdal5ycTtdi77BkKgKAr0AIBYSWVQEDE31EUR1iWLAJzf+piBhRveGX FvWPkcVCUxkT8SiavKMQoYxnMHZsxgZ2CYVVK8SGzl6aybA/dsAUYuLPbttEGOGtIrPq +jIS+2O73KXJwVMcMZhnprfxxKedrGQTREEEcL+t7qEYY6AjGxxJhbKfYnhcK3pRyGp8 OQAm4++WWOLv21F8WYussL+aoZ6deUp40v/5k98Pfpk5ixpLyCBGoIr8A/Gb7JQQwZFf egktHvJXcBkg3J2qwl5Ke9ByMEVGZSYKEPzwUSbdjaJShuyaD8orGEVAceuTpf0ucRi/ b9aQ== X-Gm-Message-State: APt69E3HSOoZcTXSBAlngLzHacD1r27t7CNtNplr3CMBjDBzr0r1Fqwv /67bwiI9ITxdz0+xXhbBStG2aw== X-Received: by 2002:a1c:108b:: with SMTP id 133-v6mr7048127wmq.136.1529423506638; Tue, 19 Jun 2018 08:51:46 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y8-v6sm44667wrs.0.2018.06.19.08.51.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:45 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 015233E0C98; Tue, 19 Jun 2018 16:44:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:07 +0100 Message-Id: <20180619154435.18898-29-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-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::243 Subject: [Qemu-devel] [PULL 28/56] 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, Yongbok Kim , aurelien@aurel32.net 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é -- 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