xref: /openbmc/qemu/hw/block/meson.build (revision 1d3daf95)
1system_ss.add(files(
2  'block.c',
3  'cdrom.c',
4  'hd-geometry.c'
5))
6system_ss.add(when: 'CONFIG_ECC', if_true: files('ecc.c'))
7system_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c'))
8system_ss.add(when: 'CONFIG_FDC_ISA', if_true: files('fdc-isa.c'))
9system_ss.add(when: 'CONFIG_FDC_SYSBUS', if_true: files('fdc-sysbus.c'))
10system_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
11system_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c'))
12system_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
13system_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
14system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
15system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80_sfdp.c'))
16system_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
17system_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-block.c'))
18system_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