aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/libqos/meson.build
blob: 1b2b2dbb22ec3750fcde7cc0681bade7daa9ead5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
libqos_srcs = files(
        '../libqtest.c',
        '../libqmp.c',

        'qgraph.c',
        'qos_external.c',
        'pci.c',
        'fw_cfg.c',
        'libqos-malloc.c',
        'libqos.c',
        'sdhci-cmd.c',

        # 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',
        'igb.c',
        'sdhci.c',
        'tpci200.c',
        'virtio.c',
        'virtio-balloon.c',
        'virtio-blk.c',
        'vhost-user-blk.c',
        'virtio-mmio.c',
        'virtio-net.c',
        'virtio-pci.c',
        'virtio-pci-modern.c',
        'virtio-rng.c',
        'virtio-scsi.c',
        'virtio-serial.c',
        'virtio-iommu.c',
        'virtio-gpio.c',
        'virtio-scmi.c',
        'generic-pcihost.c',

        # 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',
        'riscv-virt-machine.c',
        'loongarch-virt-machine.c',
)

if have_virtfs
  libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c')
endif

libqos = static_library('qos', libqos_srcs + genh,
                        build_by_default: false)

qos = declare_dependency(objects: libqos.extract_all_objects(recursive: false))