xref: /openbmc/qemu/tests/docker/test-mingw (revision b1314192)
1c4f0eed1SFam Zheng#!/bin/bash -e
2c4f0eed1SFam Zheng#
3c4f0eed1SFam Zheng# Cross compile QEMU with mingw toolchain on Linux.
4c4f0eed1SFam Zheng#
5c4f0eed1SFam Zheng# Copyright (c) 2016 Red Hat Inc.
6c4f0eed1SFam Zheng#
7c4f0eed1SFam Zheng# Authors:
8c4f0eed1SFam Zheng#  Fam Zheng <famz@redhat.com>
9c4f0eed1SFam Zheng#
10c4f0eed1SFam Zheng# This work is licensed under the terms of the GNU GPL, version 2
11c4f0eed1SFam Zheng# or (at your option) any later version. See the COPYING file in
12c4f0eed1SFam Zheng# the top-level directory.
13c4f0eed1SFam Zheng
14c4f0eed1SFam Zheng. common.rc
15c4f0eed1SFam Zheng
16*b1314192SAlex Bennéerequires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc
17c4f0eed1SFam Zheng
18c16fe84fSFam Zhengcd "$BUILD_DIR"
19c16fe84fSFam Zheng
2086a17cb3SAlex BennéeTARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
21*b1314192SAlex Bennéebuild_qemu \
22c4f0eed1SFam Zheng        --enable-trace-backends=simple \
23c4f0eed1SFam Zheng        --enable-gnutls \
24c4f0eed1SFam Zheng        --enable-nettle \
25c4f0eed1SFam Zheng        --enable-curl \
26c4f0eed1SFam Zheng        --enable-vnc \
27c4f0eed1SFam Zheng        --enable-bzip2 \
285deb2de1SPhilippe Mathieu-Daudé        --enable-guest-agent \
295deb2de1SPhilippe Mathieu-Daudé        --enable-docs
3062838478SPaolo Bonziniinstall_qemu
315deb2de1SPhilippe Mathieu-Daudémake installer
32c4f0eed1SFam Zhengmake clean
33