projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29443e2
)
kernel: fix dwc2 gadget dependency
author
Felix Fietkau
<nbd@nbd.name>
Tue, 10 Jan 2017 09:20:52 +0000
(10:20 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 10 Jan 2017 11:10:20 +0000
(12:10 +0100)
Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target
list.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/linux/modules/usb.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/usb.mk
b/package/kernel/linux/modules/usb.mk
index 8af16ba9b3da80c7be9ff303f1a1cceb21c23802..1d71c02e300a131057c7b92cf817af022085b49d 100644
(file)
--- 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 \