From patchwork Wed Jun 21 14:48:06 2017 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: 106096 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1865475obh; Wed, 21 Jun 2017 08:04:18 -0700 (PDT) X-Received: by 10.80.139.65 with SMTP id l59mr25670468edl.52.1498057458388; Wed, 21 Jun 2017 08:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498057458; cv=none; d=google.com; s=arc-20160816; b=MoimFdpZoadR80EJBbWTgom9XRSNvz2FQeJU3Jl+FW7xrWZPjOAGqnlhOOgHEIko/1 aLiuL1ZyaAagDY8/egYGrazwuhU41m2UesnkNdmhZ2XMHpwKJJ2dV3gQv3NOgt0AHp+X kKRgXqzYbVyzeZ7mVgzqwz9/lqlaCW27WMKWghDm4liMsbnhInm8O2n1mUzMquGLE+XZ 40mczXNBWb1hPoKqLQT2Nd2YeefxyiEYrrROMuGlNP2rWbZUw+M/nmNH2loEfXkgEKXC KEW6mM+eHrPTP20sDgPSdgzv9HoJnKr5E4jtTSEtMpJm9gi0mxEvYYEDaJQACKc7CuQ/ AWKg== 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=E+m5PgyeTnJn36GbtF33Cmq0/f2N0Mr/6Wj+8zfbIVk=; b=Z6P1TL2VFzLLYNr4oUixaLljRwdyCM0IeLqqfAH6TvvODh31LcoIe/bw+QIM7D7ELI kn1FDy831uD/9zFntQORLJZhO6MeRR6cSDHomuQLnMUaOS2QTdSsArq7XSeHVeHpjxcz wiKGT7d6HRaHwvBIntYGWLdSxzADwUUyCitlTqaTs4FFv0tJI54muIAlZhRCEdakCpGE 5tB0AzZxn+mOaPLRnq2PyihuGDWHVGTspl6P3LtCM8ggInGBvO1NBjajVWWLgmHn4Sv6 G0dEJJv9I5VymhfYBLuvisj1StqIaQabmDYQ7gwIxvFIudfXarVDA1+yNXcwBPWQ3tw/ CWfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=A1ZB3pFd; 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 q9si14666959edj.170.2017.06.21.08.04.17 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 21 Jun 2017 08:04:18 -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.b=A1ZB3pFd; 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]:54588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNhB1-0003mC-J0 for patch@linaro.org; Wed, 21 Jun 2017 11:04:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNh05-0003xh-GB for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNh00-0007pL-S4 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:52:57 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:36806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNh00-0007p0-LO for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:52:52 -0400 Received: by mail-wr0-x22d.google.com with SMTP id c11so82873896wrc.3 for ; Wed, 21 Jun 2017 07:52:52 -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=E+m5PgyeTnJn36GbtF33Cmq0/f2N0Mr/6Wj+8zfbIVk=; b=A1ZB3pFd8zJRwdUybBPg/q0Gir+Zs49tjPglRwcsaThvC267Ifgypzw9ufcu+Pg8Cp CIcwBydfnkGuexxu40nGGYONF4vrV+YwM0pxYsJpDwtsS69wZjSQtQaufCNYu1u9nHq3 MubT2oqkBReab9Pyd9YpqtMI8fHVc21JqkDdE= 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=E+m5PgyeTnJn36GbtF33Cmq0/f2N0Mr/6Wj+8zfbIVk=; b=nR1jJkRx6IbilQhSEfybl43MIdafE+GmPUpLUjqjZff6rTiGNfBlNBEOHwbaupXAmK oVn4HS1hzULtbCkuQd0mP7kPaMazpv47Z9/+tMSQ1SaJ/kUqp5f8w8mzf9Fo6gx7KQ/V l+G0PZxCenmqy3mYQtgCAGbp9AE9YiRJLN0V0ZGiNPOAoCh5JGRTY3av+dD/AlqRoh97 oUHlnV6QCbJisoNZPnLNwauFxTFf6lisEvgueCNjZzHhRW0eQ/TuPVnGQXZxl3Il2ekQ YqmnG1LPtx1GcDlM14JyieC1yOXCPlYsMjPwNjlcPzHNmoSh+cpkYvrL+DrMRZbUV+dy VXAA== X-Gm-Message-State: AKS2vOxzYf0oVSDj0ryPMMIlRggqG7DCPwlyazaht+yS75ZR5MD6ypm6 22IveA6keNOvH9k0 X-Received: by 10.28.126.67 with SMTP id z64mr6992704wmc.65.1498056771540; Wed, 21 Jun 2017 07:52:51 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c71sm11299892wmh.21.2017.06.21.07.52.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 07:52:46 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 203A93E0FBE; Wed, 21 Jun 2017 15:48:15 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Wed, 21 Jun 2017 15:48:06 +0100 Message-Id: <20170621144814.15324-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170621144814.15324-1-alex.bennee@linaro.org> References: <20170621144814.15324-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::22d Subject: [Qemu-devel] [PULL 13/21] docker: add mipsel build target 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée [AJB: remove apt-fake kludge] Signed-off-by: Alex Bennée -- 2.13.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 61cc0d14e2..037cb9e9e7 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -58,6 +58,7 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker # Enforce dependancies for composite images docker-image-debian-armhf-cross: docker-image-debian docker-image-debian-arm64-cross: docker-image-debian +docker-image-debian-mipsel-cross: docker-image-debian # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(DOCKER_IMAGES), \ diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker new file mode 100644 index 0000000000..2156bdb28d --- /dev/null +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker @@ -0,0 +1,29 @@ +# +# Docker mipsel cross-compiler target +# +# This docker target builds on the base debian image. +# +FROM qemu:debian +MAINTAINER Philippe Mathieu-Daudé + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture mipsel +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + crossbuild-essential-mipsel + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a mipsel qemu +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + glusterfs-common:mipsel \ + libbz2-dev:mipsel \ + liblzo2-dev:mipsel \ + libncursesw5-dev:mipsel \ + libnfs-dev:mipsel \ + librdmacm-dev:mipsel \ + libsnappy-dev:mipsel