[source] kernel: fix dwc2 gadget dependency
LEDE Commits
lede-commits at lists.infradead.org
Tue Jan 10 03:10:56 PST 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/78de59f15aa4468c2c0c6e39627310895fe250aa
commit 78de59f15aa4468c2c0c6e39627310895fe250aa
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Jan 10 10:20:52 2017 +0100
kernel: fix dwc2 gadget dependency
Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target
list.
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/kernel/linux/modules/usb.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 8af16ba..1d71c02 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -518,7 +518,7 @@ $(eval $(call KernelPackage,usb2-pci))
define KernelPackage/usb-dwc2
TITLE:=DWC2 USB controller driver
- DEPENDS:=+(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs||TARGET_imx6||TARGET_omap):kmod-usb-gadget
+ DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget
KCONFIG:= \
CONFIG_USB_DWC2 \
CONFIG_USB_DWC2_PCI \
More information about the lede-commits
mailing list