blockdev: Fix active commit choice
[qemu/ar7.git] / Makefile.objs
blobc351b59641062f46ebaae57ca9501aa1ea859095
1 #######################################################################
2 # Common libraries for tools and emulators
3 qom-obj-y = qom/libqom.fa
5 #######################################################################
6 # code used by both qemu system emulation and qemu-img
8 ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y)
10 authz-obj-y = authz/libauthz.fa
11 authz/libauthz.fa-libs = $(if $(CONFIG_AUTH_PAM),-lpam)
13 block-obj-y += libblock.fa
15 libblock.fa-libs = $(ZSTD_LIBS)
16 libblock.fa-libs += $(LIBNFS_LIBS)
17 libblock.fa-libs += $(LIBISCSI_LIBS)
18 libblock.fa-libs += $(CURL_LIBS)
19 libblock.fa-libs += $(RBD_LIBS)
20 libblock.fa-libs += $(GLUSTERFS_LIBS)
21 libblock.fa-libs += $(VXHS_LIBS)
22 libblock.fa-libs += $(LIBSSH_LIBS)
23 libblock.fa-libs += $(BZIP2_LIBS)
24 libblock.fa-libs += $(LZFSE_LIBS)
25 libblock.fa-libs += $(if $(CONFIG_LINUX_AIO),-laio)
26 libblock.fa-libs += $(LIBXML2_LIBS)
28 chardev-obj-y = chardev/libchardev.fa
30 crypto-obj-y = crypto/libcrypto.fa
32 io-obj-y = io/libio.fa
34 endif # CONFIG_SOFTMMU or CONFIG_TOOLS