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