]> Git Repo - qemu.git/commitdiff
docker: add debian/armel based on Stretch
authorPhilippe Mathieu-Daudé <[email protected]>
Tue, 18 Jul 2017 00:31:38 +0000 (21:31 -0300)
committerAlex Bennée <[email protected]>
Tue, 18 Jul 2017 09:54:30 +0000 (10:54 +0100)
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
tests/docker/Makefile.include
tests/docker/dockerfiles/debian-armel-cross.docker [new file with mode: 0644]

index 84dce49655db01e9d260093b7d5a07e412e377a0..db66b6f80248bc0bfa1dcdde7f197aedc347defb 100644 (file)
@@ -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 (file)
index 0000000..e3bd68f
--- /dev/null
@@ -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é <[email protected]>
+
+# 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
This page took 0.027981 seconds and 4 git commands to generate.