|
|
4a2fec |
From fb5cc24e24e0b53f0679e911c959a060c945bdff Mon Sep 17 00:00:00 2001
|
|
|
4a2fec |
From: Thomas Huth <thuth@redhat.com>
|
|
|
4a2fec |
Date: Mon, 9 Oct 2017 12:32:38 +0200
|
|
|
4a2fec |
Subject: [PATCH 19/34] usb: only build usb-host with CONFIG_USB=y
|
|
|
4a2fec |
|
|
|
4a2fec |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
4a2fec |
Message-id: <1507552368-9245-3-git-send-email-thuth@redhat.com>
|
|
|
4a2fec |
Patchwork-id: 77019
|
|
|
4a2fec |
O-Subject: [RHEL-7.5 qemu-kvm-ma PATCH 02/12] usb: only build usb-host with CONFIG_USB=y
|
|
|
4a2fec |
Bugzilla: 1492033
|
|
|
4a2fec |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: David Gibson <dgibson@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
4a2fec |
Reviewed-by: Fam Zheng <famz@redhat.com>
|
|
|
4a2fec |
Reviewed-by: Thomas Huth <thuth@redhat.com>
|
|
|
4a2fec |
Tested-by: Thomas Huth <thuth@redhat.com>
|
|
|
4a2fec |
Message-id: 20170908111217.21985-3-kraxel@redhat.com
|
|
|
4a2fec |
(cherry picked from commit 2041649f0b04f61869589571ddf5ecd4f0695ea2)
|
|
|
4a2fec |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
---
|
|
|
4a2fec |
hw/usb/Makefile.objs | 2 +-
|
|
|
4a2fec |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
4a2fec |
|
|
|
4a2fec |
diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs
|
|
|
4a2fec |
index a43ebbc..757e365 100644
|
|
|
4a2fec |
--- a/hw/usb/Makefile.objs
|
|
|
4a2fec |
+++ b/hw/usb/Makefile.objs
|
|
|
4a2fec |
@@ -38,7 +38,7 @@ endif
|
|
|
4a2fec |
common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
|
|
|
4a2fec |
|
|
|
4a2fec |
# usb pass-through
|
|
|
4a2fec |
-ifeq ($(CONFIG_LIBUSB),y)
|
|
|
4a2fec |
+ifeq ($(CONFIG_LIBUSB)$(CONFIG_USB),yy)
|
|
|
4a2fec |
common-obj-y += host-libusb.o host-legacy.o
|
|
|
4a2fec |
else
|
|
|
4a2fec |
common-obj-y += host-stub.o
|
|
|
4a2fec |
--
|
|
|
4a2fec |
1.8.3.1
|
|
|
4a2fec |
|