meson: convert hw/input
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bff065adcd
commit
6a18fd0590
@ -12,7 +12,6 @@ devices-dirs-y += gpio/
|
|||||||
devices-dirs-$(CONFIG_HYPERV) += hyperv/
|
devices-dirs-$(CONFIG_HYPERV) += hyperv/
|
||||||
devices-dirs-$(CONFIG_I2C) += i2c/
|
devices-dirs-$(CONFIG_I2C) += i2c/
|
||||||
devices-dirs-y += ide/
|
devices-dirs-y += ide/
|
||||||
devices-dirs-y += input/
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
common-obj-y += $(devices-dirs-y)
|
common-obj-y += $(devices-dirs-y)
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
common-obj-$(CONFIG_ADB) += adb.o adb-mouse.o adb-kbd.o
|
|
||||||
common-obj-y += hid.o
|
|
||||||
common-obj-$(CONFIG_LM832X) += lm832x.o
|
|
||||||
common-obj-$(CONFIG_PCKBD) += pckbd.o
|
|
||||||
common-obj-$(CONFIG_PL050) += pl050.o
|
|
||||||
common-obj-$(CONFIG_PS2) += ps2.o
|
|
||||||
common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
|
|
||||||
common-obj-$(CONFIG_TSC2005) += tsc2005.o
|
|
||||||
|
|
||||||
common-obj-$(CONFIG_VIRTIO_INPUT) += virtio-input.o
|
|
||||||
common-obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-hid.o
|
|
||||||
common-obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host.o
|
|
||||||
common-obj-$(CONFIG_VHOST_USER_INPUT) += vhost-user-input.o
|
|
||||||
|
|
||||||
common-obj-$(CONFIG_MILKYMIST) += milkymist-softusb.o
|
|
||||||
common-obj-$(CONFIG_PXA2XX) += pxa2xx_keypad.o
|
|
||||||
common-obj-$(CONFIG_TSC210X) += tsc210x.o
|
|
||||||
common-obj-$(CONFIG_LASIPS2) += lasips2.o
|
|
18
hw/input/meson.build
Normal file
18
hw/input/meson.build
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
softmmu_ss.add(files('hid.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_ADB', if_true: files('adb.c', 'adb-mouse.c', 'adb-kbd.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_LM832X', if_true: files('lm832x.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_PCKBD', if_true: files('pckbd.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_PL050', if_true: files('pl050.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_PS2', if_true: files('ps2.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_STELLARIS_INPUT', if_true: files('stellaris_input.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_TSC2005', if_true: files('tsc2005.c'))
|
||||||
|
|
||||||
|
softmmu_ss.add(when: 'CONFIG_VIRTIO_INPUT', if_true: files('virtio-input.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_VIRTIO_INPUT', if_true: files('virtio-input-hid.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_VIRTIO_INPUT_HOST', if_true: files('virtio-input-host.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_VHOST_USER_INPUT', if_true: files('vhost-user-input.c'))
|
||||||
|
|
||||||
|
softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-softusb.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_keypad.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_TSC210X', if_true: files('tsc210x.c'))
|
||||||
|
softmmu_ss.add(when: 'CONFIG_LASIPS2', if_true: files('lasips2.c'))
|
@ -1,4 +1,5 @@
|
|||||||
subdir('core')
|
subdir('core')
|
||||||
|
subdir('input')
|
||||||
subdir('intc')
|
subdir('intc')
|
||||||
subdir('ipack')
|
subdir('ipack')
|
||||||
subdir('ipmi')
|
subdir('ipmi')
|
||||||
|
Loading…
Reference in New Issue
Block a user