Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-next-pull-request...
[qemu/ar7.git] / tests / docker / test-static
blob372ef6fac7a1b397a76f4c42169b7943fa6ce8de
1 #!/bin/bash -e
3 # Compile QEMU user mode emulators as static binaries on Linux.
5 # Copyright (c) 2020 Red Hat Inc.
7 # Authors:
8 # Paolo Bonzini <pbonzini@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 cd "$BUILD_DIR"
18 build_qemu \
19 --disable-system \
20 --disable-tools \
21 --disable-guest-agent \
22 --disable-docs \
23 --static
24 install_qemu