From patchwork Fri Jun 15 19:46:39 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: 138800 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1282361lji; Fri, 15 Jun 2018 13:25:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL+PVCpY/AO2PaWIeu/Ui3vDw8MBM5Fs9KD+gUattrMcqx3qzlnuBQqvtxZqMgEZ7CXioAt X-Received: by 2002:a37:2b66:: with SMTP id r99-v6mr2768037qkh.286.1529094348665; Fri, 15 Jun 2018 13:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529094348; cv=none; d=google.com; s=arc-20160816; b=gJhFJbqz4Fu6+tfGrwOozvY4K9b2xWj8xVOTgu67TAP8DbPYQ3rmo+dyuzVwlHaFPD 8qbFMGu7yVEOPILWIWvn8+B8viOv7shXg4qsV6YMFzsKi/LBkPgTUDYlX5nIJCzpBhH4 nCkjL6mzfYaH3z8Q05ytKCfRgoNV7PdeJVV1cm7wErJNCtMQFBWlOfx6UzJk3azMTycq PEp/bG5GsYax3qfoU7X636YW8VPiUE/j1sWbt2aWvq7N7Mw0Z/Zh+YQgAb3TkijKaGSw lmDXFxAKt8g5eBXys8sXy9R24rOLDymq4P8XRBmXvdAynC47j9B6rySGq68hc671hTkC AnNQ== 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=nic/uQU39XK15vHMBqBf9GOMYG5tjak3u6ifMEZE5ahLfiqgZ8p+3+cAIwxJsX0yyZ KEgmzdFAEhKq/TouBRMsGXIUO7CY35eerXSAV7Yifn5wUFkl3Qy9KBlzuSv0h5kJkYIa M0X6jHax7znZMXa4IaGOjL1Y7BaB6MIC2Oj17TdEN2cV8b6kWzlFAmgO46+Jn7/A3ioN g8EudyDTNB8CfmPzCAraM2G4hS3IWho1rBckmEmHRWuVM3aAjdpmhmw4vwXNeup09KRl Cxf1rhbw2DxP2uRc60RPU9lXpGRxWy52mMqz4s0qycPdEfK7eziJc5QFZ9gEAG5eL/j0 nteA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="C6Ein/9K"; 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 w42-v6si8407098qtc.68.2018.06.15.13.25.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 13:25:48 -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="C6Ein/9K"; 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]:49194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTvI4-0007sh-3H for patch@linaro.org; Fri, 15 Jun 2018 16:25:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuoj-0000o2-N2 for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTuoi-0006t3-QX for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:29 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:33746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTuoi-0006sN-J5 for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:28 -0400 Received: by mail-wr0-x241.google.com with SMTP id k16-v6so10995665wro.0 for ; Fri, 15 Jun 2018 12:55:28 -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=C6Ein/9KQrfkhLpF6YcmTuyqxhq/76nW/mBc2lTm3OngGp+fgWN5WGcnfDIRti0nAG K7EzpOzQ+y3YIAuJ113oGK4jJeFWa8Xf433wBDqhJkfVegGf8L5Z5Xbng9Tc+J5rpobn Dk+XJOSDplTLgUadZnHCzGoagXi2x8roSz5EM= 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=gnBEx+wiFQsRItn0THQQzAHbumJIfy6QNh9N1U1dwApp+kwSnYINES42DP6hYUxsW2 6SZI2oG8lb0JbTW40H8/cUmT1ttdYr7iSLdPUrPRGoamHRTSNPNwkznraQe3+MsiNy5n 3zofJGBb2vR2QVxshF+uLDUTf3sx9fBn31DkvQm4QaFmedRjFz8raQXPBFCpXsCCYGpq hs6GXXRnHh0kI0jtDas3BkD8PhuKWjUE8sXplWoSjW0bRhyqHmmIEttQLy10Nj9/ZeQ1 9T6jDd7rNfymHU9p7xdfEnEVjtp2wbo8/LJAeOI+51YAO60/l5tcSh+0OUBVMyHm2Iov 4qHA== X-Gm-Message-State: APt69E061kp/qqms5dxWfBVdushH+BBxS7uWy1EnYdct7kmEgL4aGzRp IsX0Sfy3Gx4f5zIyMmZSWujmhw== X-Received: by 2002:a5d:44ca:: with SMTP id z10-v6mr2893371wrr.210.1529092527445; Fri, 15 Jun 2018 12:55:27 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 137-v6sm3367839wmv.28.2018.06.15.12.55.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:55:21 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E0A9F3E0CCB; Fri, 15 Jun 2018 20:47:07 +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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:39 +0100 Message-Id: <20180615194705.28019-29-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-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 v7 28/54] 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