From: Jonas Gorski Date: Sun, 15 Mar 2015 14:19:14 +0000 (+0000) Subject: modules: add depenency on usb-gadget for dwc2 also on brcm63xx X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=798916442d96d1128abd7c5829f11faed0e22c04;p=openwrt%2Fstaging%2Fluka.git modules: add depenency on usb-gadget for dwc2 also on brcm63xx Bcm63xx supports usb gadget, so dwc2 will default do dual mode. Signed-off-by: Jonas Gorski SVN-Revision: 44786 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 57caeebc31..3de5f274f0 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -440,7 +440,7 @@ $(eval $(call KernelPackage,usb2-pci)) define KernelPackage/usb-dwc2 TITLE:=DWC2 USB controller driver - DEPENDS:=@!LINUX_3_8 @!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91):kmod-usb-gadget + DEPENDS:=@!LINUX_3_8 @!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx):kmod-usb-gadget KCONFIG:= \ CONFIG_USB_DWC2 \ CONFIG_USB_DWC2_PCI \