xref: /openbmc/qemu/hw/block/meson.build (revision 8acf8650)
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_FDC_ISA', if_true: files('fdc-isa.c'))
9softmmu_ss.add(when: 'CONFIG_FDC_SYSBUS', if_true: files('fdc-sysbus.c'))
10softmmu_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
11softmmu_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c'))
12softmmu_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
13softmmu_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
14softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
15softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80_sfdp.c'))
16softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
17softmmu_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-block.c'))
18softmmu_ss.add(when: 'CONFIG_TC58128', if_true: files('tc58128.c'))
19
20specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c', 'virtio-blk-common.c'))
21specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c', 'virtio-blk-common.c'))
22
23subdir('dataplane')
24