aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/debian-win64-cross.docker
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-07-17 23:47:09 -0300
committerAlex Bennée <alex.bennee@linaro.org>2017-07-18 10:58:36 +0100
commit982e758af713044f716811d819a1b5978c6f5136 (patch)
tree547e91ca337f31f258cb147d7483e44db8b8e320 /tests/docker/dockerfiles/debian-win64-cross.docker
parent67f5b285ba56d6015e728059db136103e0593af5 (diff)
downloadqemu-982e758af713044f716811d819a1b5978c6f5136.zip
qemu-982e758af713044f716811d819a1b5978c6f5136.tar.gz
qemu-982e758af713044f716811d819a1b5978c6f5136.tar.bz2
docker: add MXE (M cross environment) base image for MinGW-w64
see http://mxe.cc/ Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/dockerfiles/debian-win64-cross.docker')
-rw-r--r--tests/docker/dockerfiles/debian-win64-cross.docker32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian-win64-cross.docker b/tests/docker/dockerfiles/debian-win64-cross.docker
new file mode 100644
index 0000000..4542bcc
--- /dev/null
+++ b/tests/docker/dockerfiles/debian-win64-cross.docker
@@ -0,0 +1,32 @@
+#
+# Docker mingw64 cross-compiler target
+#
+# This docker target builds on the debian Jessie MXE base image.
+#
+FROM qemu:debian8-mxe
+
+MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
+
+ENV TARGET x86-64
+
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+ apt-get install -y --no-install-recommends \
+ mxe-$TARGET-w64-mingw32.shared-bzip2 \
+ mxe-$TARGET-w64-mingw32.shared-curl \
+ mxe-$TARGET-w64-mingw32.shared-glib \
+ mxe-$TARGET-w64-mingw32.shared-libgcrypt \
+ mxe-$TARGET-w64-mingw32.shared-libssh2 \
+ mxe-$TARGET-w64-mingw32.shared-libusb1 \
+ mxe-$TARGET-w64-mingw32.shared-lzo \
+ mxe-$TARGET-w64-mingw32.shared-nettle \
+ mxe-$TARGET-w64-mingw32.shared-ncurses \
+ mxe-$TARGET-w64-mingw32.shared-pixman \
+ mxe-$TARGET-w64-mingw32.shared-pkgconf \
+ mxe-$TARGET-w64-mingw32.shared-pthreads \
+ mxe-$TARGET-w64-mingw32.shared-sdl2 \
+ mxe-$TARGET-w64-mingw32.shared-sdl2-mixer \
+ mxe-$TARGET-w64-mingw32.shared-sdl2-gfx \
+ mxe-$TARGET-w64-mingw32.shared-zlib
+
+# Specify the cross prefix for this image (see tests/docker/common.rc)
+ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-w64-mingw32.shared-