From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF0JF-0003De-Oh for qemu-devel@nongnu.org; Tue, 14 Jul 2015 09:31:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF0J8-00044d-Oh for qemu-devel@nongnu.org; Tue, 14 Jul 2015 09:31:45 -0400 From: Gerd Hoffmann Date: Tue, 14 Jul 2015 15:31:29 +0200 Message-Id: <1436880689-15526-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1436880689-15526-1-git-send-email-kraxel@redhat.com> References: <1436880689-15526-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] virtio-input: enable on non-linux hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Paolo Bonzini , Gerd Hoffmann As we include a copy of the linux input layer header file in the qemu source tree (include/standard-headers/linux/input.h) the virtio-input bits (except pass-through) should build and work just fine on non-linux hosts too. Tweak Makefile accordingly. Cc: Paolo Bonzini Cc: qemu-trivial@nongnu.org Signed-off-by: Gerd Hoffmann --- hw/input/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs index 624ba7e..7715d72 100644 --- a/hw/input/Makefile.objs +++ b/hw/input/Makefile.objs @@ -8,9 +8,9 @@ common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o common-obj-$(CONFIG_TSC2005) += tsc2005.o common-obj-$(CONFIG_VMMOUSE) += vmmouse.o -ifeq ($(CONFIG_LINUX),y) common-obj-$(CONFIG_VIRTIO) += virtio-input.o common-obj-$(CONFIG_VIRTIO) += virtio-input-hid.o +ifeq ($(CONFIG_LINUX),y) common-obj-$(CONFIG_VIRTIO) += virtio-input-host.o endif -- 1.8.3.1