From patchwork Thu Jun 21 06:25:37 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: 139498 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1706614lji; Thu, 21 Jun 2018 00:09:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJNZw9EGT0/Ak99RhYOaGD87cq3l1GJ+QrZLGq22EK2jm7kAC1kcc5s7bjHQYeBQi14muON X-Received: by 2002:aed:2a58:: with SMTP id k24-v6mr22433841qtf.179.1529564978694; Thu, 21 Jun 2018 00:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529564978; cv=none; d=google.com; s=arc-20160816; b=ETPRWYPnAfuHdX8Urtvxu0aFvUN/yv3IfgB0xY8JjedwPIh1MatX861aaeUvETaqIt EphTeuMYzpHktTeEOQDSI9T06NYqX6AHpmwY9aOXvkN3oZKgBFUoMXCahMvTZ6miCgxn 4WWeqbtfh1IxfDMiz8h6R7jccpfBSgTFgfVHSigAZCT08Xl2MYGLnOBFyRcfv144w0I3 j/Lf/lZ4w569jMizur/puXuzzN51gJiV9yRE2pNfkKJ2jkPmrBPIh2aRK7yZ/TAEnmkY 0qkR3PQP+hVgHNaO9HRGdlyOtbNGI4k1h9Pp3aI3+pOTPGUtSuEvqr6fggy0DhZ3v/8C Hy2Q== 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=RW0MBcrCJppNi3u4XHcvYHNyB02h79mqMKVnZn0VAXT8/Ner4HV41djS3wDqMJh/k4 IAT5hb1FX1UooT+XhMLEN8C86be6Z/TlrPDzNKerWRR/yAvZZPyeAi9Yh8wsmu8y91qd f1fzX/UDzjHLLgyAv0/GQhldXRShlRZnslttgmGjTba7GTpV4sonD/vLPlmuTMj+HIct ++fMnMmCgH8KsH1N8nfP1ksZViylQySagvmMTnTDt4FBkNmSwSMEuyLG6f3zugxWPyiL igR+TrSaKYrw2qaNZ9LmELIKXdsfs5mNCoDS1+putJxiyuyu5X3NAS6LSN+m0s0SXmV8 24BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OZYDUd8x; 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 r32-v6si921798qtr.41.2018.06.21.00.09.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 21 Jun 2018 00:09:38 -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=OZYDUd8x; 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]:53472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtis-0000oA-5J for patch@linaro.org; Thu, 21 Jun 2018 03:09:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtIE-000531-F8 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVtID-0003Rt-NN for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:06 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:52151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVtID-0003RD-GZ for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:05 -0400 Received: by mail-wm0-x243.google.com with SMTP id r15-v6so3187983wmc.1 for ; Wed, 20 Jun 2018 23:42:05 -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=OZYDUd8x9/3iSk9tg6wiD+g7NlSnk3J8Qm8gUem+5crhu5NZ1OA6vg1qcul7ozN5L/ YnYBD/5YbUg0haWGWZopo+BiympxnN8qK3GTEX99kisDYNWR+5X7usWKsInY/vzx5NY7 WgwpO5mA1/1wZ2PpejnY1SmqCQRkh96ldxWe0= 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=mIEUt1ANuQAU+66BO8F2WsUXDcrOxkZa+KngX9PnwI/AUFJpEHIIFCpvT2XJoaVKdy Kr6v2JJpQ2AxBGwyIw5iueLoEAKmOsxtocei2pC6460V8MQfRSefDhw//yT/0z7Xdk64 I71WUTScmK/N4Il8HV2N5k9A9jOwmsBkqKGC/uC2fOQMxDNvxabPGU8MT+kX6tx+oZhg eyp4mNIaMLtb9MMOZMb1yMV8Je5KkdCG2Efa74FTBp01Yi/9VMHx+8/g6qhI08tGogh+ IJFNr20bS3TCdc6kapQavgPsZVCSZt1jz+FwjMloZx5pfT0u6mnWag2XDQBQXTtepwfP o86Q== X-Gm-Message-State: APt69E0cELtokCFe+Sf/XPd5pf90XLLidGzKc2WObX5gy90CiSWDQpjf aZ7gVeUIROUpeWCfJnwCOgZggQ== X-Received: by 2002:a1c:8f8b:: with SMTP id r133-v6mr3864032wmd.1.1529563324385; Wed, 20 Jun 2018 23:42:04 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j18-v6sm2802433wmh.15.2018.06.20.23.41.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:42:02 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id CA5EA3E0D8C; 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:37 +0100 Message-Id: <20180621062605.941-30-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:c09::243 Subject: [Qemu-devel] [PULL v2 29/57] 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