[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 090/132] meson: convert hw/ide
From: |
Paolo Bonzini |
Subject: |
[PATCH 090/132] meson: convert hw/ide |
Date: |
Thu, 12 Dec 2019 13:52:14 +0100 |
From: Marc-André Lureau <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
---
hw/Makefile.objs | 1 -
hw/ide/Makefile.objs | 14 --------------
hw/ide/meson.build | 14 ++++++++++++++
hw/meson.build | 1 +
4 files changed, 15 insertions(+), 15 deletions(-)
delete mode 100644 hw/ide/Makefile.objs
create mode 100644 hw/ide/meson.build
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index c99f7e3..b75e027 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -12,7 +12,6 @@ devices-dirs-y += dma/
devices-dirs-y += gpio/
devices-dirs-$(CONFIG_HYPERV) += hyperv/
devices-dirs-$(CONFIG_I2C) += i2c/
-devices-dirs-y += ide/
endif
common-obj-y += $(devices-dirs-y)
diff --git a/hw/ide/Makefile.objs b/hw/ide/Makefile.objs
deleted file mode 100644
index faf04e0..0000000
--- a/hw/ide/Makefile.objs
+++ /dev/null
@@ -1,14 +0,0 @@
-common-obj-$(CONFIG_IDE_CORE) += core.o atapi.o
-common-obj-$(CONFIG_IDE_QDEV) += qdev.o
-common-obj-$(CONFIG_IDE_PCI) += pci.o
-common-obj-$(CONFIG_IDE_ISA) += isa.o ioport.o
-common-obj-$(CONFIG_IDE_PIIX) += piix.o ioport.o
-common-obj-$(CONFIG_IDE_CMD646) += cmd646.o
-common-obj-$(CONFIG_IDE_MACIO) += macio.o
-common-obj-$(CONFIG_IDE_MMIO) += mmio.o
-common-obj-$(CONFIG_IDE_VIA) += via.o
-common-obj-$(CONFIG_MICRODRIVE) += microdrive.o
-common-obj-$(CONFIG_AHCI) += ahci.o
-common-obj-$(CONFIG_AHCI_ICH9) += ich.o
-common-obj-$(CONFIG_ALLWINNER_A10) += ahci-allwinner.o
-common-obj-$(CONFIG_IDE_SII3112) += sii3112.o
diff --git a/hw/ide/meson.build b/hw/ide/meson.build
new file mode 100644
index 0000000..ddcb3b2
--- /dev/null
+++ b/hw/ide/meson.build
@@ -0,0 +1,14 @@
+softmmu_ss.add(when: 'CONFIG_AHCI', if_true: files('ahci.c'))
+softmmu_ss.add(when: 'CONFIG_AHCI_ICH9', if_true: files('ich.c'))
+softmmu_ss.add(when: 'CONFIG_ALLWINNER_A10', if_true:
files('ahci-allwinner.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_CMD646', if_true: files('cmd646.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_CORE', if_true: files('core.c', 'atapi.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_ISA', if_true: files('isa.c', 'ioport.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_MACIO', if_true: files('macio.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_MMIO', if_true: files('mmio.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_PCI', if_true: files('pci.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_PIIX', if_true: files('piix.c', 'ioport.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_QDEV', if_true: files('qdev.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_SII3112', if_true: files('sii3112.c'))
+softmmu_ss.add(when: 'CONFIG_IDE_VIA', if_true: files('via.c'))
+softmmu_ss.add(when: 'CONFIG_MICRODRIVE', if_true: files('microdrive.c'))
diff --git a/hw/meson.build b/hw/meson.build
index a85ec93..848736d 100644
--- a/hw/meson.build
+++ b/hw/meson.build
@@ -1,4 +1,5 @@
subdir('core')
+subdir('ide')
subdir('input')
subdir('intc')
subdir('ipack')
--
1.8.3.1
- [PATCH 080/132] meson: convert hw/pci, (continued)
- [PATCH 080/132] meson: convert hw/pci, Paolo Bonzini, 2019/12/12
- [PATCH 081/132] meson: convert hw/nvram, Paolo Bonzini, 2019/12/12
- [PATCH 082/132] meson: convert hw/rdma, Paolo Bonzini, 2019/12/12
- [PATCH 083/132] meson: convert hw/net, Paolo Bonzini, 2019/12/12
- [PATCH 085/132] meson: convert hw/isa, Paolo Bonzini, 2019/12/12
- [PATCH 084/132] meson: convert hw/misc, Paolo Bonzini, 2019/12/12
- [PATCH 086/132] meson: convert hw/ipmi, Paolo Bonzini, 2019/12/12
- [PATCH 087/132] meson: convert hw/ipack, Paolo Bonzini, 2019/12/12
- [PATCH 088/132] meson: convert hw/intc, Paolo Bonzini, 2019/12/12
- [PATCH 089/132] meson: convert hw/input, Paolo Bonzini, 2019/12/12
- [PATCH 090/132] meson: convert hw/ide,
Paolo Bonzini <=
- [PATCH 092/132] meson: convert hw/hyperv, Paolo Bonzini, 2019/12/12
- [PATCH 091/132] meson: convert hw/i2c, Paolo Bonzini, 2019/12/12
- [PATCH 093/132] meson: convert hw/gpio, Paolo Bonzini, 2019/12/12
- Re: [RFC PATCH v3 000/132] Proof of concept for Meson integration, Markus Armbruster, 2019/12/19
- [PATCH 092/132] meson: convert hw/hyperv, Paolo Bonzini, 2019/12/19
- [PATCH 094/132] meson: convert hw/dma, Paolo Bonzini, 2019/12/19
- [PATCH 093/132] meson: convert hw/gpio, Paolo Bonzini, 2019/12/19
- [PATCH 095/132] meson: convert hw/display, Paolo Bonzini, 2019/12/19
- [PATCH 096/132] meson: convert hw/cpu, Paolo Bonzini, 2019/12/19