From patchwork Mon Jul 17 14:48:34 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: 107976 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4660709obm; Mon, 17 Jul 2017 07:53:07 -0700 (PDT) X-Received: by 10.55.141.6 with SMTP id p6mr26713952qkd.128.1500303187527; Mon, 17 Jul 2017 07:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500303187; cv=none; d=google.com; s=arc-20160816; b=FB9v7eo+sNDwUD06yvPAMijpXPv34hfI09pjLDoZYFFMLcfE1H3wRIZ8e1yVLCe+bF wcezoROjOxlD9DyHu25YNEi4UO51hK1ScVpkSE42PBXOf6d2iZATHzmtNVqETA9GUbBC zjfkWOYjYQtXlbIeGpcOn3nFIb7iLxxxbl1GYKFTxl34dejbbiEJ4m5R5i5UpI4XWFs9 acOrvw5WsZnzTbHUr9xDLRz+gM9JqdlYjgcZ6BTCsJ1TnjsZyUefLgzgsKwuMxpdFESg s9tlcazLgzLc3GJZLqNiT3NiWSW+9cNKIjwH6RRgWvPj5JIi0YgWTy7LJts4nRWU0Ana R9iw== 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=OHACNsrg0VK3LdJK724mUQLMYbn+V8E2wvJqwxHC/Fs=; b=aRAjQ+xL/69sBLsOlC8jn8QpOZ6Ue+wtwIU4s18fE3jFdN2DXBI6DD5i45xfG3agrj nYqil07IyJk+f8QrM+xjyHMtrRn5Z47BzHhBO1mfVIh/Uslt/38tD7FPCXS2MVPCy8RV NWdjVojqViH4sA1yHnUiIukYRvZB2UYcm0kM0k6xCLBNzJuUkIwhioizL2Vv02FVme+O rkHjsgFerM94ATz00VUKy5HBvzNvCk+jFaWdYX6FnUmktZ20d4/S3+0Ff6TW4ICQZ6Wv 0ufPkJRhuimZqY+UpqLWFsEt8TeB3WvDmb52AVNpg2tj3w65cQVVCxj6hqu/e7Ost8SU 9s4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=PWOzTzpf; 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 w186si15065579qkd.348.2017.07.17.07.53.06 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 07:53: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.b=PWOzTzpf; 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]:50853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7OS-0000tQ-SX for patch@linaro.org; Mon, 17 Jul 2017 10:53:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Kc-000638-RD for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7KZ-0002Bm-9b for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:06 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:36060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7KZ-0002BD-2i for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:49:03 -0400 Received: by mail-wm0-x22f.google.com with SMTP id t70so17887333wmt.1 for ; Mon, 17 Jul 2017 07:49:02 -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=OHACNsrg0VK3LdJK724mUQLMYbn+V8E2wvJqwxHC/Fs=; b=PWOzTzpfvYqCgqxv8RLdVdO8yG+K12HYecPbeuBvvjwRwiIB3Srfz/IkW/AsHQbb/+ n8BsG8bPeXJHoADWnnhku+YF0lmnuVJJcxNfKzkQi0iC6WSh78mo7AuDhUMDqQ0/Qxbn ZfesTwTc+4QT2s/eZqX5DUZvb7SVky6brtzT8= 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=OHACNsrg0VK3LdJK724mUQLMYbn+V8E2wvJqwxHC/Fs=; b=QR8uTyWBJpHXS7nZgcur395yUDecyOi9/x+iWuGW5wL3cOWRMvfIZj6lwSjF0dBIYM NU/z1hw4AqsEBCboIHezMoVtEEjsBWKjKDmAMWV6B6LWwocsigbwDvyA/NH4xca0gOf/ Qdn8bWcAvIUaoB50+HJl+azhYNqmJBIOVUTohYcSnvyNlHzCuMxbJoFkgs0je4oM3i6J MzbI+I4cl9wLPBVRmU5XQ7GdWKH56PMPT0tifH1PZhXnexKHdsaSMtHCNQ+X0m+ZEbuC 5p0R6bbAW1B7YHctc6rNfHvqlyofCsD37T9QWfC0D+AyEc3LbS9iNrUPcwTY5ZwXIFDt SIsQ== X-Gm-Message-State: AIVw111W3tB2RlWsQSGXLhNkgYXriKaAFr7nfVlR5NSDuhF20RyAkUWL OcLAk2Vs7OZczemO X-Received: by 10.28.216.21 with SMTP id p21mr4908745wmg.29.1500302941858; Mon, 17 Jul 2017 07:49:01 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g63sm15920667wrd.11.2017.07.17.07.48.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 07:48:55 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 07D713E04D4; Mon, 17 Jul 2017 15:48:49 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 17 Jul 2017 15:48:34 +0100 Message-Id: <20170717144848.11793-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170717144848.11793-1-alex.bennee@linaro.org> References: <20170717144848.11793-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::22f Subject: [Qemu-devel] [PATCH v1 09/23] docker: add debian/armel based on Stretch 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é Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-armel-cross.docker | 24 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-armel-cross.docker -- 2.13.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 84dce49655..db66b6f802 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -56,6 +56,7 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker "BUILD","$*") # Enforce dependancies for composite images +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 diff --git a/tests/docker/dockerfiles/debian-armel-cross.docker b/tests/docker/dockerfiles/debian-armel-cross.docker new file mode 100644 index 0000000000..e3bd68f51e --- /dev/null +++ b/tests/docker/dockerfiles/debian-armel-cross.docker @@ -0,0 +1,24 @@ +# +# Docker armel 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 armel && \ + apt update +RUN apt install -yy crossbuild-essential-armel +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a armel qemu + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabi- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libbz2-dev:armel \ + liblzo2-dev:armel \ + librdmacm-dev:armel \ + libsnappy-dev:armel