From patchwork Tue Jul 18 10:44:51 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: 108079 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5729070obm; Tue, 18 Jul 2017 03:48:25 -0700 (PDT) X-Received: by 10.200.45.236 with SMTP id q41mr1130948qta.177.1500374905383; Tue, 18 Jul 2017 03:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500374905; cv=none; d=google.com; s=arc-20160816; b=xOBE+OrmlTnZFUCKCb+vXNi6e60EnkA8LGGyhYnjRPyYJd/cTpGuu5VXLf2Q3WAFLH WHbbVrd8+Wx+aA0wJ4zJ9RZjZBWnR8DKKLV2xGSFLAaclkxL0G9vSb6Ak1TGvOsJZwkI MwrRXGP+DiFg8Q7/NF9qVBSE0LErJL7f2HvQMqa2v8ybU4Vf4Q/iMoj8hNL8HDddSJp/ 9SBRhvwatGwTux1gFTJqukRdVxmmngnnEznu5AmDdeAHPNhcbfjAQy9+lT1RwNwnedih df87Xbt7n6RoKtId5t4NzdsdzGdgB/gpVYFisCSNhXKWDYlgTtBa04W/k2MzQCQd4+BM rvXA== 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=IF55n1tKdXUG+5IXrLLMF+Nqlasz9ElqmauMQV6FJ64=; b=jjGQXqLETcw0Jxm1fwoUyuLirdg+hycmFsRJ7Y1KUMKkilBafeF+7ltWVCHcaTfDTF RQJ7uy0OHG7KZ+ett+3zhkFmNBF506zP3UpmTCj8HcLC/J7jNlkV31ojG14gaXwLRcaq AWY2LjcWASSx2e7sZnLK90G0hsVJgwaPI/NbKZK4uvngSYsZ8DYRMZpINTjQGSpElgsJ 0Xcrajksr2vD8MC6gZF6xpOuL1rMoU3SmVHIKt61aRE3/GaQDR71lO6UEVa14uywJKcu 1s5c+Lu3h+/4nQ5Ada0Gb82PkYHTw63K6jCx39VnIkFZ18Yz0dyLTCZzlpf2/7cfNOTP 3q/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=UqDPh/5W; 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 m129si1769462qkd.128.2017.07.18.03.48.24 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 18 Jul 2017 03:48:25 -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=UqDPh/5W; 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]:55378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ3C-00019q-Mp for patch@linaro.org; Tue, 18 Jul 2017 06:48:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ0S-0007bJ-4u for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXQ0R-0003Ce-5R for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:32 -0400 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:34748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXQ0Q-0003CL-V5 for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:45:31 -0400 Received: by mail-wr0-x229.google.com with SMTP id 12so23217256wrb.1 for ; Tue, 18 Jul 2017 03:45: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=IF55n1tKdXUG+5IXrLLMF+Nqlasz9ElqmauMQV6FJ64=; b=UqDPh/5WDwMyJN+pKpR59SyMOF1VTkKa0DBVf1b233Z8EXZGEgX+yiNdKnkw4Jss1L KKp08MxSRp+qxXC7tRL4481Ybk/lk9zo3hQa0QSs1xkRlBLdcAjLnPcomRXcbJT5krzr ys3kPwYwYo2FYYcIftqPi/Cyp2Xfp9P5frC2Y= 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=IF55n1tKdXUG+5IXrLLMF+Nqlasz9ElqmauMQV6FJ64=; b=DATk/pbkSCZDthEnqp1iva/UdQxdbpJciU9Zpo66AyBk8SaR+5+9XH8XRDrhEYTlW4 Yqi++PHs0c2TjJAPuYiHu4HfGx6QSADAZluNQrzzXjJa+ho82J0qWXXt4BsNRXbw2Lkm OmpaYkDk//UuBWFYPLt9NV80GEPvT36OtG+SIdUGcbyI3MfxgHYhUAWHpHAzlK2SkAvE nT8ULdv5hS3qcZJIe0mv69aJyg9XBt9O8tGwACIwUphUR6yR6Tegx12yyoUfIA4rxeV6 C0l0RbEHRDQq3RXKcbjosDlZJrsn60jxvccwKKFlayAWrMAsurmHAfFNgyCmpR6OP6cF 9xfw== X-Gm-Message-State: AIVw112iS25NNKe90wWO5uFw9pSGtM0AOYvvoYC7/kYJqrxENtSDjl3C mz1AkELLGVECAuC+1+8ZVg== X-Received: by 10.28.156.20 with SMTP id f20mr1694094wme.17.1500374729848; Tue, 18 Jul 2017 03:45:29 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v203sm16673958wmd.2.2017.07.18.03.45.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 03:45:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B789D3E05C7; Tue, 18 Jul 2017 11:45:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: Date: Tue, 18 Jul 2017 11:44:51 +0100 Message-Id: <20170718104513.23947-11-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::229 Subject: [Qemu-devel] [PULL 10/32] 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?= , =?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é 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 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