From patchwork Mon May 8 04:57:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 9715731 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 680EA602A0 for ; Mon, 8 May 2017 05:04:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A57E26E54 for ; Mon, 8 May 2017 05:04:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CEAC27031; Mon, 8 May 2017 05:04:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 77C4426E54 for ; Mon, 8 May 2017 05:04:44 +0000 (UTC) Received: from localhost ([::1]:57662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7aqg-0008Af-Bf for patchwork-qemu-devel@patchwork.kernel.org; Mon, 08 May 2017 01:04:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7akc-0003je-7O for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7akb-0007so-IJ for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:26 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7akb-0007sk-Dm for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:25 -0400 Received: by mail-qt0-x242.google.com with SMTP id l39so8242106qtb.1 for ; Sun, 07 May 2017 21:58:25 -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=xcu1QtyDLMW+07MA7uPW36hjxpuoebrYZ7TIXURUve4=; b=gdT+KG0NZuzdQopdnHKAp3xTzUmfFzv+vxzO+plefGvxXlIXWV8vIsEVMVxSv9BoxD P+U3oQEPanI0gZfh6lTwUiZzwV0r2Rw2Saxsao5RdJa0uzDrSYJ5uw3ggf/sXLpdgIuS kJKTnLUGokn75eBj4Pny1ZaO0ZnVNFakmewJDSAJdqnNmZ+E+b9ZnSn8fNvrmZ+uCVPL WEvQ0gGMTTHPML5A4mUv68obdyHYjhMQLMicgDiK074yeIX+w/NmytCxYRQYhwmx9u4o AS336X8L0wlTPrvFzBTapjk8MsFcvqb2PN8hdAYU49ynscLZ05MGkwIrmVv7MVp4lME2 iIHg== 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=xcu1QtyDLMW+07MA7uPW36hjxpuoebrYZ7TIXURUve4=; b=YqzMoPy6Ohaxfwrr2m/+q41a1z0s9cznTROyvTJ7HrgiWhG7pN+rwR58JNmccQ97U2 m56mhcJ5DxK5g6SlIAu2nd6qqgIm9gnWauCju9wztj/Ks/YN5E7VBPqGdr7JipynM8hA 80qkIJjR487gcRlJzZw6b+vHNsCCuNIyhYJpvphgHUEo9TaNvoUtWmqpoxnQORDbskg+ p2SmlmIWhBjMgqzkaVR8kvDhdVStfooeu5haHa3CjDVmRPbgu43NeFKJM4oGr2Uw6+uP war1NMmFnkmdC+Pe1bdmSPxHIyEwHQiam9w8T0Ru1bFBgn23QCceFfeUGsiyM8qVaBr4 BUIA== X-Gm-Message-State: AODbwcDOljIqO5ZSZJzm/0JX7oUwfV5Iw+G6xYUvgYpqmYaz2pEW+AAk vfzrfbvcK+COGQ== X-Received: by 10.200.49.46 with SMTP id g43mr16337504qtb.229.1494219504894; Sun, 07 May 2017 21:58:24 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id m188sm4358549qkc.5.2017.05.07.21.58.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 May 2017 21:58:24 -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 , Aurelien Jarno , Yongbok Kim Date: Mon, 8 May 2017 01:57:02 -0300 Message-Id: <20170508045715.21770-11-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170508045715.21770-1-f4bug@amsat.org> References: <20170508045715.21770-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH 10/23] 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/Makefile.include | 1 + .../docker/dockerfiles/debian-mipsel-cross.docker | 23 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-mipsel-cross.docker diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 03eda37bf4..ceff2c1654 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -57,6 +57,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..c569a2e1b4 --- /dev/null +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker @@ -0,0 +1,23 @@ +# +# 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 && \ + apt-get update && \ + 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 && \ + DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -y --no-install-recommends \ + glusterfs-common:mipsel \ + libncursesw5-dev:mipsel libnfs-dev:mipsel \ + libbz2-dev:mipsel liblzo2-dev:mipsel \ + libsnappy-dev:mipsel librdmacm-dev:mipsel