mirror of https://github.com/hak5/openwrt-owl.git
kernel: fix dwc2 gadget dependency
Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target list. Signed-off-by: Felix Fietkau <nbd@nbd.name>owl
parent
29443e2c94
commit
78de59f15a
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue