2017-09-07 16:12:45 +02:00
|
|
|
#!/bin/bash
|
2016-06-01 06:25:22 +02:00
|
|
|
#
|
2017-09-07 16:12:45 +02:00
|
|
|
# Compile all the targets with as many features enabled as possible
|
2016-06-01 06:25:22 +02:00
|
|
|
#
|
2017-09-07 16:12:45 +02:00
|
|
|
# Copyright 2016, 2017 Red Hat Inc.
|
2016-06-01 06:25:22 +02:00
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Fam Zheng <famz@redhat.com>
|
|
|
|
#
|
|
|
|
# This work is licensed under the terms of the GNU GPL, version 2
|
|
|
|
# or (at your option) any later version. See the COPYING file in
|
|
|
|
# the top-level directory.
|
|
|
|
|
|
|
|
. common.rc
|
|
|
|
|
2017-09-07 16:12:45 +02:00
|
|
|
cd "$BUILD_DIR" || exit 1
|
2016-09-28 09:31:32 +02:00
|
|
|
|
2017-09-07 16:12:45 +02:00
|
|
|
build_qemu \
|
|
|
|
--enable-attr \
|
|
|
|
--enable-bluez \
|
|
|
|
--enable-brlapi \
|
|
|
|
--enable-bsd-user \
|
|
|
|
--enable-bzip2 \
|
|
|
|
--enable-cap-ng \
|
|
|
|
--enable-coroutine-pool \
|
|
|
|
--enable-crypto-afalg \
|
|
|
|
--enable-curl \
|
|
|
|
--enable-curses \
|
|
|
|
--enable-debug \
|
|
|
|
--enable-debug-info \
|
|
|
|
--enable-debug-tcg \
|
|
|
|
--enable-docs \
|
|
|
|
--enable-fdt \
|
|
|
|
--enable-gcrypt \
|
|
|
|
--enable-glusterfs \
|
|
|
|
--enable-gnutls \
|
|
|
|
--enable-gprof \
|
|
|
|
--enable-gtk \
|
|
|
|
--enable-guest-agent \
|
|
|
|
--enable-jemalloc \
|
|
|
|
--enable-kvm \
|
|
|
|
--enable-libiscsi \
|
|
|
|
--enable-libnfs \
|
|
|
|
--enable-libssh2 \
|
|
|
|
--enable-libusb \
|
|
|
|
--enable-linux-aio \
|
|
|
|
--enable-linux-user \
|
|
|
|
--enable-live-block-migration \
|
|
|
|
--enable-lzo \
|
|
|
|
--enable-modules \
|
|
|
|
--enable-numa \
|
|
|
|
--enable-opengl \
|
|
|
|
--enable-pie \
|
|
|
|
--enable-profiler \
|
|
|
|
--enable-qom-cast-debug \
|
|
|
|
--enable-rbd \
|
|
|
|
--enable-rdma \
|
|
|
|
--enable-replication \
|
|
|
|
--enable-sdl \
|
|
|
|
--enable-seccomp \
|
|
|
|
--enable-smartcard \
|
|
|
|
--enable-snappy \
|
|
|
|
--enable-spice \
|
|
|
|
--enable-stack-protector \
|
|
|
|
--enable-system \
|
|
|
|
--enable-tcg \
|
|
|
|
--enable-tcg-interpreter \
|
|
|
|
--enable-tools \
|
|
|
|
--enable-tpm \
|
|
|
|
--enable-trace-backend=ftrace \
|
|
|
|
--enable-usb-redir \
|
|
|
|
--enable-user \
|
|
|
|
--enable-vde \
|
|
|
|
--enable-vhost-net \
|
|
|
|
--enable-vhost-scsi \
|
|
|
|
--enable-vhost-user \
|
|
|
|
--enable-vhost-vsock \
|
|
|
|
--enable-virtfs \
|
|
|
|
--enable-vnc \
|
|
|
|
--enable-vnc-jpeg \
|
|
|
|
--enable-vnc-png \
|
|
|
|
--enable-vnc-sasl \
|
|
|
|
--enable-vte \
|
|
|
|
--enable-werror \
|
|
|
|
--enable-xen \
|
|
|
|
--enable-xen-pci-passthrough \
|
|
|
|
--enable-xen-pv-domain-build \
|
|
|
|
--enable-xfsctl \
|
2017-09-22 17:49:31 +02:00
|
|
|
&& make check $MAKEFLAGS && install_qemu
|