From patchwork Thu May 17 17:47:03 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: 136191 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp259996lji; Thu, 17 May 2018 11:10:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqhfzE2HyYs+E+u0XTG97ucX4bs9z/0cj/OuhROmmd5Cr9vlM0LnZ7UVZsZp6vqXBFE6gSg X-Received: by 2002:a37:ab0b:: with SMTP id u11-v6mr5711804qke.82.1526580607553; Thu, 17 May 2018 11:10:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526580607; cv=none; d=google.com; s=arc-20160816; b=FEw2EBzcH28c275ybR6G5sqSdWjdf2L9UqAaXUyHMiV62y2WxhmuLFWvI1dndgHfPA rU+WQ8x+iYzc4ATpT0Cn74QGxJ0SZA780qPUXgte48fJQfmx1fW8L1bnfaO4Mr9//bhY js0/ncNaitq9jPtTmH0M5NYoZ94d7+dIwCHxR7Ssa7GV31LJW2a8QstQm81OvL8EK5Lt ATkETtcMv6pjnTW3uPq1k5hDNl9t+6Cng2bmLJluulMb3EJhbWm0OnO2xv3su/Fp0BCI FSB/t0HehEG6kcq6kiMgPn0YTVehFlmggElecsxx236Ayd0q7H0FyKDKei+soZrFiL/N xWog== 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=UY/eFAag5zpGI1nWn4Iti1CnV5gJKRva8qg7t363KY2sevIpM+Iuo8gKknkYbcpRDg u9j0xCQEXmrJO5sdwfiyffpeVJZW/QGIwe7TcDtZne6sr1lSXjgZyJq/xgq4ox7H0nOg 3E/vfVY+Y8cD0nOaVFamAdnjzhA6bLwBKGnb6M82XHpE3ZUNsjE/41xOKIaUPLbw6NUH W0Vwu0tns3x+T6Oz4rTP1gYmvxRDFHtYYd8lWw4Rn5VH7F//MdCV44sVowBw5NQ6IsrV 4BeVU+9xwtVOxiaWXJVfUoxB8ZUCq0thOaszK/My/ULtaqTnTzGMx9yQFGUgaxwaCmCJ vMSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SL2Xpssv; 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 o14-v6si1350190qto.293.2018.05.17.11.10.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 May 2018 11:10:07 -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=SL2Xpssv; 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]:38546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJNLq-0007VZ-UY for patch@linaro.org; Thu, 17 May 2018 14:10:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJN6G-00039e-8P for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJN6B-00073v-Ld for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:59 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:54801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJN6B-00073e-Et for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:55 -0400 Received: by mail-wm0-x242.google.com with SMTP id f6-v6so9924688wmc.4 for ; Thu, 17 May 2018 10:53:55 -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=SL2XpssvAeHLn9sq1tNWaZYYw7Cpn3zFroC9G0KTpfiHdZGQYiA/yx7B4GGVxa53jr zX8pb0zEggWwB/TJDPQUNfXXBKswOeTDMgqBfMMhiv5mLuSII5FCy/WQS8Ce534LAG6y TkFaVM7sim/wL+E0wg9CbqQESLqKErhXbk5gE= 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=MUCuY360KcbxUiw99tY8n8w9pku4/nDya8aSlr7rw9zXgjt4Rycc/DWK3lp7QH2Jum sGV2XufeaG1O1xCVZ1ZN6MZ1UPceqWnQdkD9KRLVcvLJhclYcdzPxMRSzEVtiamsnAYk 5lmBAnxIzvd/EMJ/B+1VrkNwhBZ/PeTIXu5cipoUMLeSTduHJGxqkjjI49IUoBoAAKzR NJrBERW41w7yhdqA94wyPEjfrCgfuiz4NXuityYRvwAKhiepiGUQ1QIqB+i4mFscUVzj uitiWCOYpfL/JssRWe/Ygvs55XoqL99+wSf7KRaE0cybLd3+lwWCIKNpqdbU96dpXpgu N0tA== X-Gm-Message-State: ALKqPweaM+IiMR6Y4F81dckjkrlfJr9YPHNN9Dzp6AwOGdrKXcL75C/A o5JKOpPmg2gwE1f1rTbbNeOSww== X-Received: by 2002:a1c:8ccf:: with SMTP id o198-v6mr2634376wmd.82.1526579634283; Thu, 17 May 2018 10:53:54 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k3-v6sm6225580wri.28.2018.05.17.10.53.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 10:53:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A58633E0F2E; Thu, 17 May 2018 18:47:21 +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: Thu, 17 May 2018 18:47:03 +0100 Message-Id: <20180517174718.10107-35-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517174718.10107-1-alex.bennee@linaro.org> References: <20180517174718.10107-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::242 Subject: [Qemu-devel] [PATCH v4 34/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 --- tests/tcg/mips/Makefile.include | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/tcg/mips/Makefile.include -- 2.17.0 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé 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