aboutsummaryrefslogtreecommitdiff
path: root/hw/input/Makefile.objs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-10 12:51:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-13 08:49:30 +0200
commit503591cb6c28c3ddbe38ea50cab2f0dd3d6cd929 (patch)
tree3a5360a0161d38887e6f05af2cfce2a8c293f5b7 /hw/input/Makefile.objs
parentd923e30578a65392e50e530e3a29b2edf5c51c5b (diff)
virtio-input: fix Kconfig dependency and Makefile
Make VIRTIO_INPUT_HOST depend on VIRTIO_INPUT. Use CONFIG_VIRTIO_INPUT_HOST in Makefile. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20190510105137.17481-2-kraxel@redhat.com
Diffstat (limited to 'hw/input/Makefile.objs')
-rw-r--r--hw/input/Makefile.objs4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs
index 3eddf00f2b..d1de307708 100644
--- a/hw/input/Makefile.objs
+++ b/hw/input/Makefile.objs
@@ -9,9 +9,7 @@ common-obj-$(CONFIG_TSC2005) += tsc2005.o
common-obj-$(CONFIG_VIRTIO_INPUT) += virtio-input.o
common-obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-hid.o
-ifeq ($(CONFIG_LINUX),y)
-common-obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-host.o
-endif
+common-obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host.o
common-obj-$(CONFIG_VHOST_USER_INPUT) += vhost-user-input.o
obj-$(CONFIG_MILKYMIST) += milkymist-softusb.o