diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-08-17 11:30:59 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:32 -0400 |
commit | 6bcb5d96654ecbf74feaa418412487a743051dcb (patch) | |
tree | 6776d4243a91bb5a3b5f91de6462750227738785 /hw/block/meson.build | |
parent | a518e03cdba86079891d7faf57c928e01b323250 (diff) | |
download | qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.zip qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.gz qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.bz2 |
meson: convert hw/block
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/block/meson.build')
-rw-r--r-- | hw/block/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hw/block/meson.build b/hw/block/meson.build new file mode 100644 index 0000000..78cad8f --- /dev/null +++ b/hw/block/meson.build @@ -0,0 +1,21 @@ +softmmu_ss.add(files( + 'block.c', + 'cdrom.c', + 'hd-geometry.c' +)) +softmmu_ss.add(when: 'CONFIG_ECC', if_true: files('ecc.c')) +softmmu_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c')) +softmmu_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c')) +softmmu_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c')) +softmmu_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c')) +softmmu_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c')) +softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c')) +softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c')) +softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c')) +softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('tc58128.c')) +softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c')) + +specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c')) +specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c')) + +subdir('dataplane') |