xref: /openbmc/qemu/hw/block/meson.build (revision 2e1cacfb)
1system_ss.add(files(
2  'block.c',
3  'cdrom.c',
4  'hd-geometry.c'
5))
6system_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c'))
7system_ss.add(when: 'CONFIG_FDC_ISA', if_true: files('fdc-isa.c'))
8system_ss.add(when: 'CONFIG_FDC_SYSBUS', if_true: files('fdc-sysbus.c'))
9system_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
10system_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
11system_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
12system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
13system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80_sfdp.c'))
14system_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
15system_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-block.c'))
16
17specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c', 'virtio-blk-common.c'))
18specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c', 'virtio-blk-common.c'))
19
20subdir('dataplane')
21