]> Git Repo - qemu.git/blame - tests/docker/test-mingw
Merge remote-tracking branch 'remotes/kraxel/tags/usb-20181029-pull-request' into...
[qemu.git] / tests / docker / test-mingw
CommitLineData
c4f0eed1
FZ
1#!/bin/bash -e
2#
3# Cross compile QEMU with mingw toolchain on Linux.
4#
5# Copyright (c) 2016 Red Hat Inc.
6#
7# Authors:
8# Fam Zheng <[email protected]>
9#
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.
13
14. common.rc
15
16requires mingw dtc
17
c16fe84f 18cd "$BUILD_DIR"
86a17cb3 19DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu"
c16fe84f 20
c4f0eed1 21for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
86a17cb3 22 TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
c4f0eed1
FZ
23 build_qemu --cross-prefix=$prefix \
24 --enable-trace-backends=simple \
c4f0eed1
FZ
25 --enable-gnutls \
26 --enable-nettle \
27 --enable-curl \
28 --enable-vnc \
29 --enable-bzip2 \
30 --enable-guest-agent \
1578466c 31 --with-sdlabi=2.0
62838478 32 install_qemu
c4f0eed1
FZ
33 make clean
34
35done
This page took 0.155861 seconds and 4 git commands to generate.