aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/meson.build
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-02-20 09:54:59 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-22 12:47:40 +0100
commitbd217d88dcff15981476b73612eb877a372e67f1 (patch)
treec08facd665170eb774fb97f2968a66f825acc8d4 /hw/ide/meson.build
parent066804029f089e43fe77ddbf1ba45b0dc0ba574c (diff)
downloadqemu-bd217d88dcff15981476b73612eb877a372e67f1.zip
qemu-bd217d88dcff15981476b73612eb877a372e67f1.tar.gz
qemu-bd217d88dcff15981476b73612eb877a372e67f1.tar.bz2
hw/ide: Add the possibility to disable the CompactFlash device in the build
For distros like downstream RHEL, it would be helpful to allow to disable the CompactFlash device. For making this possible, we need a separate Kconfig switch for this device, and the code should reside in a separate file. Let's also introduce a new header ide-dev.h which can be used to collect definitions related to IDE devices. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-ID: <20240220085505.30255-2-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/ide/meson.build')
-rw-r--r--hw/ide/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/meson.build b/hw/ide/meson.build
index e050eef..d2e5b45 100644
--- a/hw/ide/meson.build
+++ b/hw/ide/meson.build
@@ -1,6 +1,7 @@
system_ss.add(when: 'CONFIG_AHCI', if_true: files('ahci.c'))
system_ss.add(when: 'CONFIG_AHCI_ICH9', if_true: files('ich.c'))
system_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true: files('ahci-allwinner.c'))
+system_ss.add(when: 'CONFIG_IDE_CF', if_true: files('cf.c'))
system_ss.add(when: 'CONFIG_IDE_CMD646', if_true: files('cmd646.c'))
system_ss.add(when: 'CONFIG_IDE_CORE', if_true: files('core.c', 'atapi.c'))
system_ss.add(when: 'CONFIG_IDE_ISA', if_true: files('isa.c', 'ioport.c'))