From patchwork Tue Jul 18 10:45:05 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: 108094 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5740581obm; Tue, 18 Jul 2017 04:00:41 -0700 (PDT) X-Received: by 10.55.162.210 with SMTP id l201mr1075715qke.180.1500375641642; Tue, 18 Jul 2017 04:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500375641; cv=none; d=google.com; s=arc-20160816; b=RO5lOskNalDTBPDZzQAq09LxHODQVDDmL8uB0HfNjzOlTX7CuY2r11tFYp4ksqr1vM dLNatUL2UX9gHCScFK1BIZcR+SWjlONWzDqTq/o9Qaj82NZgfggehAbI7jQu6OdfYugw kpwYBIcs742/WaCrF2f0m6730tj/+u1Vg9yzcqZuXpjOQmJ0N9pzmlS7nQDyGiorace2 nmdLVv8TU6M/yDMYIIpjq8cGRvTU6vhihB04UhZm9rjkWAhI0YihqGHtUa+rDxxXrooe 648g3IP8HE5LuBiYx1KSIBgYdiVBKURiC+TqiKUlu7FC3ovOcwzwRRTnTZmaEZ/apdYo /auw== 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=mUT1+72DYrerAM2TYvzcXJKyaOaUjUOM8slt4K/Uris=; b=yz5tFVmpB3whfwwnSJx2T47h+2SMQJdCBsD1l0hgOnKjZAvf2ZyhH4mM2tsXA/g0kx vbHs4HTGdhtnWGjTpFSuufE39nb6/FlotNJ6Og7qP9+kjCNVsxBtj/TU/EAME8x07nYH CHvMyZaCd+Y3ilGrshbr48PG9tbT4A/ivvO9EHgAsPid6utsnECqcU1IYYd+1tcDBXUZ MPoFfehaTXIpSX6A5Lt8nO1W5M9yhkb+jqk3czlh030+hFWZSfTQh+Vx6wKkse/ZhvXH iLuGSvich8jbZ4PuiM9VJqLXRTdQ9C+0L3SILdN7/Kkjr5uWcQ35GWW7WQqecX7igiIX V2Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=CpM2Yg3O; 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 f73si1862054qke.295.2017.07.18.04.00.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 18 Jul 2017 04:00:41 -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=CpM2Yg3O; 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]:55437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQF5-0004Gf-0Z for patch@linaro.org; Tue, 18 Jul 2017 07:00:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ7D-00057U-R0 for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXQ7C-0006PF-Lk for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:31 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:34962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXQ7C-0006Ol-FY for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:30 -0400 Received: by mail-wr0-x22b.google.com with SMTP id w4so23078939wrb.2 for ; Tue, 18 Jul 2017 03:52:30 -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=mUT1+72DYrerAM2TYvzcXJKyaOaUjUOM8slt4K/Uris=; b=CpM2Yg3OrqJ0V08y0M+aNs78XQZZCoJTdifOVxOqaFN3YYvPf1cKd2Fz/Pvopuw8Ry 0BX47SCSMIuj+2lkGXIO2TveYi8dX/BBJBAa2UUjbNF8NOCY/WtI1rS9FaTb0kHwK6Rp 4w6RniTyRSk2ToQ8+hMkmeOX/hjEpJ+aRnf0c= 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=mUT1+72DYrerAM2TYvzcXJKyaOaUjUOM8slt4K/Uris=; b=aAiT177JbGqktMXEqJYaqniquomlwolkGz/LHBwbT+Td5CcXzOap4inVmO4q8OMUnV d+I6ZTfhM2PzaxCO/SDteDS8/bnJTwcly1TYdbf0Y+4tCLzUebTHHGliIU9jjjc2G2Ke 6mojIc+xxjQlEyM6tWlkr+6IF50hVv0vvVizv/SRa1hZCg5+8WaTnwMAL+gUKPRLxSsv WEaEe3cpfWgV32y9y3oM4TqBpWXt0EYbEiXjjKvmcml7tKA1tCep+bbUdfxDs22wQ7Hc VsJs7lnhhPV6+kGTydGnXZWfR+O3V/E4wX6Y96jxTCMmXjG+e2l6GRagWJEfL8pI/5m8 PKrg== X-Gm-Message-State: AIVw110I2xz5RhSJLjwwMul6a3QMTYVGgpTbxe8V8tlAFlLUga/9mxE8 Me14sCCt0qUnbVSX X-Received: by 10.28.51.212 with SMTP id z203mr1686756wmz.103.1500375149023; Tue, 18 Jul 2017 03:52:29 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 67sm775450wrc.34.2017.07.18.03.52.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 03:52:27 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BB44D3E0B2C; Tue, 18 Jul 2017 11:45:15 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: Date: Tue, 18 Jul 2017 11:45:05 +0100 Message-Id: <20170718104513.23947-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170718104513.23947-1-alex.bennee@linaro.org> References: <20170718104513.23947-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::22b Subject: [Qemu-devel] [PULL 24/32] docker: add debian/mips[eb] images 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?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "open list:-----------------..." Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé change image mips little -> big endian Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée -- 2.13.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 202efe9ee6..e0807c0917 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -62,7 +62,7 @@ docker-image-debian-amd64: docker-image-debian9 docker-image-debian-armel-cross: docker-image-debian9 docker-image-debian-armhf-cross: docker-image-debian9 docker-image-debian-arm64-cross: docker-image-debian9 -docker-image-debian-mipsel-cross: docker-image-debian9 +docker-image-debian-mips-cross: docker-image-debian9 docker-image-debian-powerpc-cross: docker-image-debian8 docker-image-debian-ppc64el-cross: docker-image-debian9 docker-image-debian-s390x-cross: docker-image-debian9 diff --git a/tests/docker/dockerfiles/debian-mips-cross.docker b/tests/docker/dockerfiles/debian-mips-cross.docker new file mode 100644 index 0000000000..550f43281b --- /dev/null +++ b/tests/docker/dockerfiles/debian-mips-cross.docker @@ -0,0 +1,29 @@ +# +# Docker mips cross-compiler target +# +# This docker target builds on the debian Stretch base image. +# +FROM qemu:debian9 + +MAINTAINER Philippe Mathieu-Daudé + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture mips +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-mips-linux-gnu + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a mips qemu + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu- + +# Install extra libraries to increase code coverage +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libbz2-dev:mips \ + liblzo2-dev:mips \ + librdmacm-dev:mips \ + libsnappy-dev:mips diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker index eb279c5044..6378bd41e7 100644 --- a/tests/docker/dockerfiles/debian-mipsel-cross.docker +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker @@ -4,6 +4,7 @@ # This docker target builds on the debian Stretch base image. # FROM qemu:debian9 + MAINTAINER Philippe Mathieu-Daudé # Add the foreign architecture we want and install dependencies @@ -11,13 +12,15 @@ RUN dpkg --add-architecture mipsel RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ - crossbuild-essential-mipsel + gcc-mipsel-linux-gnu + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a mipsel qemu # 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 +# Install extra libraries to increase code coverage RUN DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ libbz2-dev:mipsel \