]>
Commit | Line | Data |
---|---|---|
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 <famz@redhat.com> | |
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 | ||
b1314192 | 16 | requires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc |
c4f0eed1 | 17 | |
c16fe84f FZ |
18 | cd "$BUILD_DIR" |
19 | ||
b1314192 AB |
20 | TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ |
21 | build_qemu \ | |
c4f0eed1 | 22 | --enable-trace-backends=simple \ |
c4f0eed1 FZ |
23 | --enable-gnutls \ |
24 | --enable-nettle \ | |
25 | --enable-curl \ | |
26 | --enable-vnc \ | |
27 | --enable-bzip2 \ | |
5deb2de1 PMD |
28 | --enable-guest-agent \ |
29 | --enable-docs | |
b1314192 AB |
30 | install_qemu |
31 | make installer | |
32 | make clean |