[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 123/150] meson: convert hw/adc
From: |
Paolo Bonzini |
Subject: |
[PATCH 123/150] meson: convert hw/adc |
Date: |
Mon, 17 Aug 2020 16:40:26 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/Makefile.objs | 1 -
hw/adc/Makefile.objs | 1 -
hw/adc/meson.build | 1 +
hw/meson.build | 1 +
4 files changed, 2 insertions(+), 2 deletions(-)
delete mode 100644 hw/adc/Makefile.objs
create mode 100644 hw/adc/meson.build
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index c0cbc0f132..4bdb674ef0 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -1,7 +1,6 @@
ifeq ($(CONFIG_SOFTMMU), y)
devices-dirs-$(call lor,$(CONFIG_VIRTIO_9P),$(call
land,$(CONFIG_VIRTFS),$(CONFIG_XEN))) += 9pfs/
devices-dirs-y += acpi/
-devices-dirs-y += adc/
endif
common-obj-y += $(devices-dirs-y)
diff --git a/hw/adc/Makefile.objs b/hw/adc/Makefile.objs
deleted file mode 100644
index 2b9dc36c7f..0000000000
--- a/hw/adc/Makefile.objs
+++ /dev/null
@@ -1 +0,0 @@
-common-obj-$(CONFIG_STM32F2XX_ADC) += stm32f2xx_adc.o
diff --git a/hw/adc/meson.build b/hw/adc/meson.build
new file mode 100644
index 0000000000..0d62ae96ae
--- /dev/null
+++ b/hw/adc/meson.build
@@ -0,0 +1 @@
+softmmu_ss.add(when: 'CONFIG_STM32F2XX_ADC', if_true: files('stm32f2xx_adc.c'))
diff --git a/hw/meson.build b/hw/meson.build
index 624335be90..ffa3f06dc0 100644
--- a/hw/meson.build
+++ b/hw/meson.build
@@ -1,3 +1,4 @@
+subdir('adc')
subdir('audio')
subdir('block')
subdir('char')
--
2.26.2
- [PATCH 114/150] meson: convert hw/i2c, (continued)
- [PATCH 114/150] meson: convert hw/i2c, Paolo Bonzini, 2020/08/17
- [PATCH 115/150] meson: convert hw/hyperv, Paolo Bonzini, 2020/08/17
- [PATCH 116/150] meson: convert hw/gpio, Paolo Bonzini, 2020/08/17
- [PATCH 117/150] meson: convert hw/dma, Paolo Bonzini, 2020/08/17
- [PATCH 118/150] meson: convert hw/display, Paolo Bonzini, 2020/08/17
- [PATCH 119/150] meson: convert hw/cpu, Paolo Bonzini, 2020/08/17
- [PATCH 120/150] meson: convert hw/char, Paolo Bonzini, 2020/08/17
- [PATCH 121/150] meson: convert hw/block, Paolo Bonzini, 2020/08/17
- [PATCH 122/150] meson: convert hw/audio, Paolo Bonzini, 2020/08/17
- [PATCH 123/150] meson: convert hw/adc,
Paolo Bonzini <=
- [PATCH 124/150] meson: convert hw/acpi, Paolo Bonzini, 2020/08/17
- [PATCH 125/150] meson: convert hw/9pfs, cleanup, Paolo Bonzini, 2020/08/17
- [PATCH 126/150] meson: convert hw/arch*, Paolo Bonzini, 2020/08/17
- [PATCH 127/150] meson: target, Paolo Bonzini, 2020/08/17
- [PATCH 128/150] meson: accel, Paolo Bonzini, 2020/08/17
- [PATCH 129/150] meson: linux-user, Paolo Bonzini, 2020/08/17
- [PATCH 130/150] meson: bsd-user, Paolo Bonzini, 2020/08/17
- [PATCH 132/150] meson: plugins, Paolo Bonzini, 2020/08/17
- [PATCH 131/150] meson: cpu-emu, Paolo Bonzini, 2020/08/17