meson: convert hw/hyperv

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-16 19:02:41 +04:00 committed by Paolo Bonzini
parent c8d9333f1f
commit cc4d76a3ed
4 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,6 @@ devices-dirs-y += cpu/
devices-dirs-y += display/
devices-dirs-y += dma/
devices-dirs-y += gpio/
devices-dirs-$(CONFIG_HYPERV) += hyperv/
endif
common-obj-y += $(devices-dirs-y)

View File

@ -1,3 +0,0 @@
obj-y += hyperv.o
obj-$(CONFIG_HYPERV_TESTDEV) += hyperv_testdev.o
obj-$(CONFIG_VMBUS) += vmbus.o

3
hw/hyperv/meson.build Normal file
View File

@ -0,0 +1,3 @@
specific_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'))
specific_ss.add(when: 'CONFIG_HYPERV_TESTDEV', if_true: files('hyperv_testdev.c'))
specific_ss.add(when: 'CONFIG_VMBUS', if_true: files('vmbus.c'))

View File

@ -1,4 +1,5 @@
subdir('core')
subdir('hyperv')
subdir('i2c')
subdir('ide')
subdir('input')