aboutsummaryrefslogtreecommitdiff
path: root/hw/block/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-06-14 21:32:18 +0200
committerJohn Snow <jsnow@redhat.com>2021-06-25 08:53:28 -0400
commit72ea60e4114272f3030455c214e86bcf1c8a1a9e (patch)
tree3a477e5e8e36690f48981ae454a620c947a59cfe /hw/block/meson.build
parent5a5d2f3d260a5c3a2f00675c90744c0903fed116 (diff)
downloadqemu-72ea60e4114272f3030455c214e86bcf1c8a1a9e.zip
qemu-72ea60e4114272f3030455c214e86bcf1c8a1a9e.tar.gz
qemu-72ea60e4114272f3030455c214e86bcf1c8a1a9e.tar.bz2
hw/block/fdc: Extract ISA floppy controllers to fdc-isa.c
Some machines use floppy controllers via the SysBus interface, and don't need to pull in all the ISA code. Extract the ISA specific code to a new unit: fdc-isa.c, and add a new Kconfig symbol: "FDC_ISA". This allows us to remove the FIXME from commit dd0ff8191ab ("isa: express SuperIO dependencies with Kconfig"). Reviewed-by: John Snow <jsnow@redhat.com> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210614193220.2007159-5-philmd@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/block/meson.build')
-rw-r--r--hw/block/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/meson.build b/hw/block/meson.build
index 8b0de54..8cc79b5 100644
--- a/hw/block/meson.build
+++ b/hw/block/meson.build
@@ -5,6 +5,7 @@ softmmu_ss.add(files(
))
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_FDC_ISA', if_true: files('fdc-isa.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'))