2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add(files(
|
2019-08-17 10:30:59 +03:00
|
|
|
'block.c',
|
|
|
|
'cdrom.c',
|
|
|
|
'hd-geometry.c'
|
|
|
|
))
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add(when: 'CONFIG_ECC', if_true: files('ecc.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_FDC_ISA', if_true: files('fdc-isa.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_FDC_SYSBUS', if_true: files('fdc-sysbus.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80_sfdp.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-block.c'))
|
2019-08-17 10:30:59 +03:00
|
|
|
|
2022-09-06 10:31:08 +03:00
|
|
|
specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c', 'virtio-blk-common.c'))
|
2022-09-06 10:31:11 +03:00
|
|
|
specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c', 'virtio-blk-common.c'))
|
2019-08-17 10:30:59 +03:00
|
|
|
|
|
|
|
subdir('dataplane')
|