Author: cyrus Date: 2014-06-11 14:19:44 +0200 (Wed, 11 Jun 2014) New Revision: 41115
Modified: trunk/package/kernel/linux/modules/usb.mk Log: kernel: fix kernel builds for chipidea w/ usb-gadget Instead of repackaging udc-core.ko again, just add a dependency to kmod-usb-gadget, which already contains it. Fixes kmod-chipidea builds for 3.10- with usb-gadget enabled. Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/package/kernel/linux/modules/usb.mk =================================================================== --- trunk/package/kernel/linux/modules/usb.mk 2014-06-11 12:11:55 UTC (rev 41114) +++ trunk/package/kernel/linux/modules/usb.mk 2014-06-11 12:19:44 UTC (rev 41115) @@ -1358,7 +1358,7 @@ define KernelPackage/usb-chipidea TITLE:=Support for ChipIdea controllers - DEPENDS:=+kmod-usb2 + DEPENDS:=+kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget KCONFIG:=\ CONFIG_USB_CHIPIDEA \ CONFIG_USB_CHIPIDEA_HOST=y \ @@ -1373,7 +1373,6 @@ else FILES:=\ $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \ - $(if $(CONFIG_USB_GADGET),$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko) \ $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \ $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko) AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
