From patchwork Tue Jul 11 03:09:47 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: 786435 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 ozlabs.org (Postfix) with ESMTPS id 3x66YB51h5z9s74 for ; Tue, 11 Jul 2017 13:11:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mJrJUeq+"; dkim-atps=neutral Received: from localhost ([::1]:43907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlZs-000107-ER for incoming@patchwork.ozlabs.org; Mon, 10 Jul 2017 23:11:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUlZB-0000z8-IR for qemu-devel@nongnu.org; Mon, 10 Jul 2017 23:10:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUlZA-000485-P8 for qemu-devel@nongnu.org; Mon, 10 Jul 2017 23:10:25 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:33824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUlZA-00047x-KC for qemu-devel@nongnu.org; Mon, 10 Jul 2017 23:10:24 -0400 Received: by mail-qt0-x244.google.com with SMTP id m54so15129949qtb.1 for ; Mon, 10 Jul 2017 20:10:24 -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=UX88c0X0poPDyTqYwrB9hxSIUbMJ4hD82uTvt2RvUO4=; b=mJrJUeq+agpiwf4bhH2fOjIPEGSkSDTctYF6kxMOZQjtnsN5aQKXdkhEbHmy6bnO+q CZUz6hXOAkkAdqCO10kptaM6M7tQkJtClvIeRpLdecE+CxwH4EyMcIErOcCuc1NwCV5z /q9DO8tU0h+MV17Au5LFAOHi5JPBbmBKLfmjD6ZKNBjVjw51GSdytTEK5lCYrOVhh58y rrqxJsm8STDBHeb1ANK++tIlw/lsxcjoBCof6rzxtjjvYDvxl5nyR14qlshG2XcDg+0r TApo80ecvJwBOFFC2oPphvJmy+dusRcP0x+ek7va7i9y4MG8NfhaSOd/ZJMbSSdkvGMf XdMw== 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=UX88c0X0poPDyTqYwrB9hxSIUbMJ4hD82uTvt2RvUO4=; b=qZe80yMbciW96j5SYDMQFLr8Fc/KQr9yTmm5uNFqdacuniFt/I+Q/an9QZVhVdOhYu FX1WeJjEKumPpVHDvXEhmCEktl6iTJZ4ijLnHNbppxOJiEX9tgnKyYfbVOQJ5aRYgtXX +EDI5Ls8Phb5gBfaIheuUIR+iUEbXRS5/VngpgT0cqSF5pw4DoBgxhso21qlURk+g6YH nehNxHnDIIRLNOmaHGL2EnphOscQpuA76vR6XYnRal9SeOCcADqFKw6WbwbjYbxnwBCE J7HauxN17kHjDa88tSAHaIQibrwmiG/5C12DQgdoHA3xfdikLqHAXv/VQolS6/r9lNB9 Uy+A== X-Gm-Message-State: AIVw113ymFht4Slr6yUsIQ6SZWWToONekp4fPpw1TpvkN4apVj8dqYmL WhonAp0f/Y6GTgmCSC0= X-Received: by 10.200.5.134 with SMTP id a6mr8240223qth.44.1499742624015; Mon, 10 Jul 2017 20:10:24 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id b13sm10702452qta.25.2017.07.10.20.10.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 20:10:23 -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: Tue, 11 Jul 2017 00:09:47 -0300 Message-Id: <20170711031000.24844-6-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711031000.24844-1-f4bug@amsat.org> References: <20170711031000.24844-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::244 Subject: [Qemu-devel] [PATCH v6 05/18] 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Philippe Mathieu-Daudé --- 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 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 1eb32eebfa..238bb7276c 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