xref: /openbmc/qemu/tests/qtest/libqos/meson.build (revision d2dfe0b5)
1libqos_srcs = files(
2        '../libqtest.c',
3        '../libqmp.c',
4
5        'qgraph.c',
6        'qos_external.c',
7        'pci.c',
8        'fw_cfg.c',
9        'libqos-malloc.c',
10        'libqos.c',
11        'sdhci-cmd.c',
12
13        # spapr
14        'malloc-spapr.c',
15        'libqos-spapr.c',
16        'rtas.c',
17        'pci-spapr.c',
18
19        # pc
20        'pci-pc.c',
21        'malloc-pc.c',
22        'libqos-pc.c',
23        'ahci.c',
24
25        # usb
26        'usb.c',
27
28        # qgraph devices:
29        'e1000e.c',
30        'i2c.c',
31        'i2c-imx.c',
32        'i2c-omap.c',
33        'igb.c',
34        'sdhci.c',
35        'tpci200.c',
36        'virtio.c',
37        'virtio-balloon.c',
38        'virtio-blk.c',
39        'vhost-user-blk.c',
40        'virtio-mmio.c',
41        'virtio-net.c',
42        'virtio-pci.c',
43        'virtio-pci-modern.c',
44        'virtio-rng.c',
45        'virtio-scsi.c',
46        'virtio-serial.c',
47        'virtio-iommu.c',
48        'virtio-gpio.c',
49        'generic-pcihost.c',
50
51        # qgraph machines:
52        'aarch64-xlnx-zcu102-machine.c',
53        'arm-imx25-pdk-machine.c',
54        'arm-n800-machine.c',
55        'arm-raspi2-machine.c',
56        'arm-sabrelite-machine.c',
57        'arm-smdkc210-machine.c',
58        'arm-virt-machine.c',
59        'arm-xilinx-zynq-a9-machine.c',
60        'ppc64_pseries-machine.c',
61        'x86_64_pc-machine.c',
62)
63
64if have_virtfs
65  libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c')
66endif
67
68libqos = static_library('qos', libqos_srcs + genh,
69                        name_suffix: 'fa',
70                        build_by_default: false)
71
72qos = declare_dependency(link_whole: libqos)
73