]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/dwc3/Makefile
usb: dwc3: depend on both Host and Gadget stacks
[karo-tx-linux.git] / drivers / usb / dwc3 / Makefile
index 593d1dbc465ba47feadb5bd43303589fe47738cc..900ae74357f1583b342a2e96f3a05d6aab635221 100644 (file)
@@ -4,10 +4,8 @@ ccflags-$(CONFIG_USB_DWC3_VERBOSE)     += -DVERBOSE_DEBUG
 obj-$(CONFIG_USB_DWC3)                 += dwc3.o
 
 dwc3-y                                 := core.o
-
-ifneq ($(CONFIG_USB_GADGET_DWC3),)
-       dwc3-y                          += gadget.o ep0.o
-endif
+dwc3-y                                 += host.o
+dwc3-y                                 += gadget.o ep0.o
 
 ifneq ($(CONFIG_DEBUG_FS),)
        dwc3-y                          += debugfs.o