Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20160720-1' into staging
[qemu/ar7.git] / tests / docker / test-mingw
blobc03757add8ab7eb0fc872ed1ce8d1d241e2ce27e
1 #!/bin/bash -e
3 # Cross compile QEMU with mingw toolchain on Linux.
5 # Copyright (c) 2016 Red Hat Inc.
7 # Authors:
8 # Fam Zheng <famz@redhat.com>
10 # This work is licensed under the terms of the GNU GPL, version 2
11 # or (at your option) any later version. See the COPYING file in
12 # the top-level directory.
14 . common.rc
16 requires mingw dtc
18 for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
19 TARGET_LIST=x86_64-softmmu,aarch64-softmmu \
20 build_qemu --cross-prefix=$prefix \
21 --enable-trace-backends=simple \
22 --enable-debug \
23 --enable-gnutls \
24 --enable-nettle \
25 --enable-curl \
26 --enable-vnc \
27 --enable-bzip2 \
28 --enable-guest-agent \
29 --with-sdlabi=1.2 \
30 --with-gtkabi=2.0
31 make clean
33 done