meson: convert hw/adc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-17 11:34:47 +04:00 committed by Paolo Bonzini
parent a9d4825542
commit b53d555f69
4 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -1 +0,0 @@
common-obj-$(CONFIG_STM32F2XX_ADC) += stm32f2xx_adc.o

1
hw/adc/meson.build Normal file
View File

@ -0,0 +1 @@
softmmu_ss.add(when: 'CONFIG_STM32F2XX_ADC', if_true: files('stm32f2xx_adc.c'))

View File

@ -1,3 +1,4 @@
subdir('adc')
subdir('audio')
subdir('block')
subdir('char')