From: John Crispin Date: Wed, 11 Mar 2015 17:58:53 +0000 (+0000) Subject: modules: make dwc2 only depend on gadget support for brcm2708 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d1e13f27b6328363880ae2c70002770ada084a2;p=openwrt%2Fstaging%2Fadrian.git modules: make dwc2 only depend on gadget support for brcm2708 Signed-off-by: John Crispin SVN-Revision: 44683 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 71661dc2f5..51e443a23b 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 +kmod-usb-gadget + DEPENDS:=@!LINUX_3_8 @!LINUX_3_10 +TARGET_brcm2708:kmod-usb-gadget KCONFIG:= \ CONFIG_USB_DWC2 \ CONFIG_USB_DWC2_PCI \