From nobody Tue Feb 10 05:41:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1496430248515299.1916864521753; Fri, 2 Jun 2017 12:04:08 -0700 (PDT) Received: from localhost ([::1]:51161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGrri-0000MR-3v for importer@patchew.org; Fri, 02 Jun 2017 15:04:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGrl7-0002Ee-JQ for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGrl6-0006Pg-Rs for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:57:17 -0400 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]:35112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGrl6-0006PN-Mi for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:57:16 -0400 Received: by mail-oi0-x242.google.com with SMTP id f206so3400010oig.2 for ; Fri, 02 Jun 2017 11:57:16 -0700 (PDT) Received: from yoga.attlocal.net ([2602:30a:2c37:1a00::43]) by smtp.gmail.com with ESMTPSA id z2sm1345048ota.1.2017.06.02.11.57.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 11:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vZrNb4UfIdcwRwkfGW+3DII17Bk6FK3Bg1jShcuSRz0=; b=HcpXF5/3MRjbkxsi6yT2fCWZ6JUMtNSUGEiPlt5LMB3w99ELbo87Aje26TQqkAgF8J 1BfiKt7SNYptLfJvPZugYe1cfph0wwJ7gcbieqzAAPctgR/2qkXInWsnsyiHK+Pz67uO 4CPEKoZT/qjKZys7MMHUWT9L7xZKe5CxajahryM0526bOHX30pHV/yJzZjBPKhiksUCg p/houNlFkt+4dthG4RS8xCX9IsOFznqa3SLVdiL75ztA7y300xCQvTsQPPYxtGANRkkW QPFfMxP7m/rMFjol4DAbR687dZd/Oywx0xWwvFr8fcr2N8qp3AKi5MX1BeM8AqOrikoY XwHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=vZrNb4UfIdcwRwkfGW+3DII17Bk6FK3Bg1jShcuSRz0=; b=d8N0VRjWsIhSPrTnpNscqI63mwQt3zHB6aMn6AmfHd1Facf4/hIv5b8ilM3KeB2Ftc PdKEhsRAt1X7Qk6ZuogmlDggXt5G1x+A1uR74yX5GVgv+ceybX2Y5QlvvlneX7nq97SM m18OCZJcdYMlPWrRfimAKLBQ1otWsQmsAdJnolAQpSXspnKvq3LWpulVT/PYCHW1aikI rn9eb67RXZfOzMM5IpT4l3pHaMU0Z6kl7rAxnZIo6q+nhPVienvsjFaQYgIK9KqzQA4c hPwkm4HC9q2chDW5F8WHtw2Ue5uM+Kxb74fQbDqieGGJtFlm0E6+kNXZD1Z1IoZZEU7M dbdQ== X-Gm-Message-State: AODbwcA2Ky2nYYbjFIGXDI1dYVYeYFfQwLJSLnuxl5WrL44/PXABZClp BcLU8etwm7+XzikVlB0= X-Received: by 10.157.3.195 with SMTP id f61mr5853020otf.197.1496429835869; Fri, 02 Jun 2017 11:57:15 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Date: Fri, 2 Jun 2017 15:56:20 -0300 Message-Id: <20170602185630.5059-15-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170602185630.5059-1-f4bug@amsat.org> References: <20170602185630.5059-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::242 Subject: [Qemu-devel] [PATCH v5 14/24] 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- tests/docker/Makefile.include | 3 ++ .../docker/dockerfiles/debian-mipsel-cross.docker | 41 ++++++++++++++++++= ++++ 2 files changed, 44 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-mipsel-cross.docker diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fe1a9a53ff..1c2ab29303 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -55,9 +55,12 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker $(if $(EXECUTABLE),--include-executable=3D$(EXECUTABLE)),\ "BUILD","$*") =20 +docker-image-debian-mipsel-cross: EXTRA_FILES:=3Dtests/docker/dockerfiles/= debian-apt-fake.sh + # 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 =20 # 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/do= cker/dockerfiles/debian-mipsel-cross.docker new file mode 100644 index 0000000000..bda9fac9d9 --- /dev/null +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker @@ -0,0 +1,41 @@ +# +# Docker mipsel cross-compiler target +# +# This docker target builds on the base debian image. +# +FROM qemu:debian +MAINTAINER Philippe Mathieu-Daud=C3=A9 + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture mipsel +RUN apt-get update +RUN DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + crossbuild-essential-mipsel + +# to fix "following packages have unmet dependencies" ... +ADD debian-apt-fake.sh /usr/local/bin/apt-fake +RUN apt-get install -y --no-install-recommends \ + equivs \ + pkg-config +RUN apt-fake install \ + pkgconf:mipsel=3D0.9.7-fake \ + pkg-config:mipsel=3D0.28-1.1-fake && \ + ln -s pkg-config /usr/bin/mipsel-linux-gnu-pkg-config +ENV PKG_CONFIG_PATH /usr/lib/mipsel-linux-gnu/pkgconfig +# + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=3Dmipsel-linux-gnu- + +RUN DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ + apt-get build-dep -yy -a mipsel qemu +RUN DEBIAN_FRONTEND=3Dnoninteractive 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 --=20 2.11.0