2012-11-16 17:35:27 +00:00
|
|
|
#######################################################################
|
2012-12-20 15:10:26 +00:00
|
|
|
# Common libraries for tools and emulators
|
2019-07-16 15:40:16 +00:00
|
|
|
qom-obj-y = qom/libqom.fa
|
2016-12-12 12:49:01 +00:00
|
|
|
|
2015-10-21 12:16:21 +00:00
|
|
|
#######################################################################
|
2020-01-18 14:06:16 +00:00
|
|
|
# code used by both qemu system emulation and qemu-img
|
2015-10-21 12:16:21 +00:00
|
|
|
|
2020-01-18 14:06:16 +00:00
|
|
|
ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y)
|
2015-10-21 12:16:21 +00:00
|
|
|
|
2019-07-15 18:54:34 +00:00
|
|
|
authz-obj-y = authz/libauthz.fa
|
|
|
|
authz/libauthz.fa-libs = $(if $(CONFIG_AUTH_PAM),-lpam)
|
2010-01-06 19:24:05 +00:00
|
|
|
|
2019-08-29 18:34:43 +00:00
|
|
|
block-obj-y += libblock.fa
|
|
|
|
|
|
|
|
libblock.fa-libs = $(ZSTD_LIBS)
|
|
|
|
libblock.fa-libs += $(LIBNFS_LIBS)
|
|
|
|
libblock.fa-libs += $(LIBISCSI_LIBS)
|
|
|
|
libblock.fa-libs += $(CURL_LIBS)
|
|
|
|
libblock.fa-libs += $(RBD_LIBS)
|
|
|
|
libblock.fa-libs += $(GLUSTERFS_LIBS)
|
|
|
|
libblock.fa-libs += $(VXHS_LIBS)
|
|
|
|
libblock.fa-libs += $(LIBSSH_LIBS)
|
|
|
|
libblock.fa-libs += $(BZIP2_LIBS)
|
|
|
|
libblock.fa-libs += $(LZFSE_LIBS)
|
|
|
|
libblock.fa-libs += $(if $(CONFIG_LINUX_AIO),-laio)
|
|
|
|
libblock.fa-libs += $(LIBXML2_LIBS)
|
2014-02-10 06:48:59 +00:00
|
|
|
|
2019-07-15 19:18:07 +00:00
|
|
|
chardev-obj-y = chardev/libchardev.fa
|
|
|
|
|
2019-07-16 15:28:54 +00:00
|
|
|
crypto-obj-y = crypto/libcrypto.fa
|
2010-04-29 12:14:43 +00:00
|
|
|
|
2019-07-16 15:33:55 +00:00
|
|
|
io-obj-y = io/libio.fa
|
2015-02-27 16:19:33 +00:00
|
|
|
|
2020-01-18 14:06:16 +00:00
|
|
|
endif # CONFIG_SOFTMMU or CONFIG_TOOLS
|