From: Hauke Mehrtens Date: Fri, 2 May 2014 22:57:09 +0000 (+0000) Subject: omap: fix usb dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9d1e33c7557f9828f5a6b16d5c57c039a749fc8e;p=openwrt%2Fstaging%2Fthess.git omap: fix usb dependencies There are some problems in the dependencies of the usb modules Signed-off-by: Hauke Mehrtens SVN-Revision: 40667 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 37b3eb102a..096d55aa8e 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -168,7 +168,7 @@ $(eval $(call KernelPackage,usb-phy-omap-usb2)) define KernelPackage/usb-phy-omap-usb3 TITLE:=Support for OMAP USB3 PHY KCONFIG:=CONFIG_OMAP_USB3 - DEPENDS:=@TARGET_omap + DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-omap-usb3.ko AUTOLOAD:=$(call AutoLoad,45,phy-omap-usb3) $(call AddDepends/usb) @@ -336,7 +336,7 @@ $(eval $(call KernelPackage,usb2-fsl)) define KernelPackage/usb2-omap TITLE:=Support for USB2 for OMAP - DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x + DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x +kmod-usb2 KCONFIG:=CONFIG_USB_EHCI_HCD_OMAP FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-omap.ko AUTOLOAD:=$(call AutoLoad,39,ehci-omap) @@ -354,8 +354,7 @@ define KernelPackage/usb2 TITLE:=Support for USB2 controllers DEPENDS:=\ +TARGET_brcm47xx:kmod-usb-brcm47xx \ - +TARGET_mpc85xx:kmod-usb2-fsl \ - +TARGET_omap:kmod-usb2-omap + +TARGET_mpc85xx:kmod-usb2-fsl KCONFIG:=\ CONFIG_USB_EHCI_HCD \ CONFIG_USB_EHCI_ATH79=y \