Skip to contentSkip to conversation

usb: add config options for hub and hid devices (kbd, mouse, tablet).

PATCH New Gerd Hoffmann 1 participant 1 message Aug 30, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: add config options for hub and hid devices (kbd, mouse, tablet).

---
 default-configs/usb.mak | 2 ++
 hw/usb/Makefile.objs    | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
default-configs/usb.mak +2 -0
index e42cfeabbe..3ee117dbf6 100644
@@ -1,4 +1,6 @@
 CONFIG_USB=y
+CONFIG_USB_HUB=y
+CONFIG_USB_HID=y
 CONFIG_USB_TABLET_WACOM=y
 CONFIG_USB_STORAGE_BOT=y
 CONFIG_USB_STORAGE_UAS=y
hw/usb/Makefile.objs +2 -2
index 41be700812..c8802aaefd 100644
@@ -15,8 +15,8 @@ obj-$(CONFIG_TUSB6010) += tusb6010.o
 obj-$(CONFIG_IMX)      += chipidea.o
 
 # emulated usb devices
-common-obj-$(CONFIG_USB) += dev-hub.o
-common-obj-$(CONFIG_USB) += dev-hid.o
+common-obj-$(CONFIG_USB_HUB) += dev-hub.o
+common-obj-$(CONFIG_USB_HID) += dev-hid.o
 common-obj-$(CONFIG_USB_TABLET_WACOM) += dev-wacom.o
 common-obj-$(CONFIG_USB_STORAGE_BOT)  += dev-storage.o
 common-obj-$(CONFIG_USB_STORAGE_UAS)  += dev-uas.o
Signature · 1 line
2.9.3