2022-03-30 12:34:11 +03:00
|
|
|
libqos_srcs = files(
|
|
|
|
'../libqtest.c',
|
|
|
|
'../libqmp.c',
|
|
|
|
|
2020-08-04 21:00:40 +03:00
|
|
|
'qgraph.c',
|
|
|
|
'qos_external.c',
|
|
|
|
'pci.c',
|
|
|
|
'fw_cfg.c',
|
2022-08-24 12:40:03 +03:00
|
|
|
'libqos-malloc.c',
|
2020-08-04 21:00:40 +03:00
|
|
|
'libqos.c',
|
2021-10-08 03:26:27 +03:00
|
|
|
'sdhci-cmd.c',
|
2020-08-04 21:00:40 +03:00
|
|
|
|
|
|
|
# spapr
|
|
|
|
'malloc-spapr.c',
|
|
|
|
'libqos-spapr.c',
|
|
|
|
'rtas.c',
|
|
|
|
'pci-spapr.c',
|
|
|
|
|
|
|
|
# pc
|
|
|
|
'pci-pc.c',
|
|
|
|
'malloc-pc.c',
|
|
|
|
'libqos-pc.c',
|
|
|
|
'ahci.c',
|
|
|
|
|
|
|
|
# usb
|
|
|
|
'usb.c',
|
|
|
|
|
|
|
|
# qgraph devices:
|
|
|
|
'e1000e.c',
|
|
|
|
'i2c.c',
|
|
|
|
'i2c-imx.c',
|
|
|
|
'i2c-omap.c',
|
|
|
|
'sdhci.c',
|
|
|
|
'tpci200.c',
|
|
|
|
'virtio.c',
|
|
|
|
'virtio-balloon.c',
|
|
|
|
'virtio-blk.c',
|
2021-03-22 12:23:25 +03:00
|
|
|
'vhost-user-blk.c',
|
2020-08-04 21:00:40 +03:00
|
|
|
'virtio-mmio.c',
|
|
|
|
'virtio-net.c',
|
|
|
|
'virtio-pci.c',
|
|
|
|
'virtio-pci-modern.c',
|
|
|
|
'virtio-rng.c',
|
|
|
|
'virtio-scsi.c',
|
|
|
|
'virtio-serial.c',
|
2021-11-27 10:29:10 +03:00
|
|
|
'virtio-iommu.c',
|
2022-08-02 12:50:10 +03:00
|
|
|
'virtio-gpio.c',
|
2022-05-04 18:20:25 +03:00
|
|
|
'generic-pcihost.c',
|
2020-08-04 21:00:40 +03:00
|
|
|
|
|
|
|
# qgraph machines:
|
|
|
|
'aarch64-xlnx-zcu102-machine.c',
|
|
|
|
'arm-imx25-pdk-machine.c',
|
|
|
|
'arm-n800-machine.c',
|
|
|
|
'arm-raspi2-machine.c',
|
|
|
|
'arm-sabrelite-machine.c',
|
|
|
|
'arm-smdkc210-machine.c',
|
|
|
|
'arm-virt-machine.c',
|
|
|
|
'arm-xilinx-zynq-a9-machine.c',
|
|
|
|
'ppc64_pseries-machine.c',
|
|
|
|
'x86_64_pc-machine.c',
|
2020-09-02 13:30:40 +03:00
|
|
|
)
|
|
|
|
|
2022-10-28 07:57:33 +03:00
|
|
|
if have_virtfs
|
|
|
|
libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c')
|
|
|
|
endif
|
|
|
|
|
2020-09-02 13:30:40 +03:00
|
|
|
libqos = static_library('qos', libqos_srcs + genh,
|
|
|
|
name_suffix: 'fa',
|
|
|
|
build_by_default: false)
|
2020-08-04 21:00:40 +03:00
|
|
|
|
|
|
|
qos = declare_dependency(link_whole: libqos)
|