qemu: sort --disable-xx list
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 2 Apr 2019 06:39:18 +0000 (06:39 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 2 Apr 2019 07:47:16 +0000 (15:47 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
utils/qemu/Makefile

index 681e3cadb846631e93063ce748d3b310fbe5fb06..cc3e8cae8754f9651e9002c76512117fbf916165 100644 (file)
@@ -193,68 +193,72 @@ CONFIGURE_ARGS +=                 \
        --disable-fortify-source        \
        --disable-stack-protector       \
 
+# Make a list from QEMU source code for reference
+#
+#      grep -E '^\s*--disable-[^)]+\)' configure | cut -f1 -d')' | sort -u
+#
 CONFIGURE_ARGS +=                      \
        --audio-drv-list=''             \
-       --disable-debug-info            \
-       --disable-modules               \
-       --disable-sdl                   \
-       --disable-qom-cast-debug        \
-       --disable-virtfs                \
-       --disable-vnc                   \
-       --disable-debug-tcg             \
-       --disable-sparse                \
-       --disable-strip                 \
-       --disable-vnc-sasl              \
-       --disable-vnc-jpeg              \
-       --disable-vnc-png               \
-       --disable-uuid                  \
-       --disable-vde                   \
-       --disable-netmap                \
-       --disable-xen                   \
-       --disable-xen-pci-passthrough   \
-       --disable-xen-pv-domain-build   \
-       --disable-brlapi                \
+       --disable-attr                  \
        --disable-bluez                 \
-       --disable-tcg-interpreter       \
+       --disable-brlapi                \
+       --disable-bsd-user              \
+       --disable-bzip2                 \
        --disable-cap-ng                \
-       --disable-spice                 \
-       --disable-libiscsi              \
-       --disable-libnfs                \
        --disable-cocoa                 \
-       --disable-bsd-user              \
        --disable-curl                  \
-       --disable-linux-aio             \
-       --disable-attr                  \
+       --disable-debug-info            \
+       --disable-debug-tcg             \
        --disable-docs                  \
+       --disable-gcrypt                \
+       --disable-glusterfs             \
+       --disable-gnutls                \
+       --disable-gtk                   \
+       --disable-guest-agent-msi       \
+       --disable-jemalloc              \
+       --disable-libiscsi              \
+       --disable-libnfs                \
+       --disable-libssh2               \
+       --disable-libusb                \
+       --disable-linux-aio             \
+       --disable-lzo                   \
+       --disable-modules               \
+       --disable-netmap                \
+       --disable-nettle                \
+       --disable-numa                  \
        --disable-opengl                \
+       --disable-qom-cast-debug        \
        --disable-rbd                   \
-       --disable-xfsctl                \
+       --disable-rdma                  \
+       --disable-sdl                   \
+       --disable-seccomp               \
        --disable-smartcard             \
-       --disable-libusb                \
-       --disable-usb-redir             \
-       --disable-zlib-test             \
-       --disable-lzo                   \
        --disable-snappy                \
-       --disable-bzip2                 \
-       --disable-guest-agent-msi       \
+       --disable-sparse                \
+       --disable-spice                 \
+       --disable-strip                 \
+       --disable-strip                 \
+       --disable-tcg-interpreter       \
+       --disable-tcmalloc              \
        --disable-tools                 \
-       --disable-seccomp               \
-       --disable-glusterfs             \
-       --disable-gtk                   \
-       --disable-gnutls                \
-       --disable-nettle                \
-       --disable-gcrypt                \
-       --disable-rdma                  \
-       --disable-vte                   \
-       --disable-virglrenderer         \
        --disable-tpm                   \
-       --disable-libssh2               \
+       --disable-usb-redir             \
+       --disable-uuid                  \
+       --disable-vde                   \
        --disable-vhdx                  \
-       --disable-numa                  \
-       --disable-tcmalloc              \
-       --disable-jemalloc              \
-       --disable-strip                 \
+       --disable-virglrenderer         \
+       --disable-virtfs                \
+       --disable-vnc                   \
+       --disable-vnc-jpeg              \
+       --disable-vnc-png               \
+       --disable-vnc-sasl              \
+       --disable-vte                   \
        --disable-werror                \
+       --disable-xen                   \
+       --disable-xen-pci-passthrough   \
+       --disable-xen-pv-domain-build   \
+       --disable-xfsctl                \
+       --disable-zlib-test             \
 
 CONFIGURE_ARGS += --target-list='$(foreach target,$(QEMU_TARGET_LIST),$(if $(CONFIG_PACKAGE_qemu-$(target)),$(target)))'
 CONFIGURE_ARGS += $(if $(CONFIG_PACKAGE_qemu-ga),--enable-guest-agent)