xref: /openbmc/qemu/hw/block/meson.build (revision 2b37e9f8)
1softmmu_ss.add(files(
2  'block.c',
3  'cdrom.c',
4  'hd-geometry.c'
5))
6softmmu_ss.add(when: 'CONFIG_ECC', if_true: files('ecc.c'))
7softmmu_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c'))
8softmmu_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
9softmmu_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c'))
10softmmu_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
11softmmu_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
12softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
13softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
14softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c'))
15softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('tc58128.c'))
16softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c', 'nvme-ns.c'))
17
18specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c'))
19specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c'))
20
21subdir('dataplane')
22