diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-09 13:01:00 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-09 13:01:00 +0000 |
commit | b9a3c0c507d8bb86a30776d1064ac85b06362a6a (patch) | |
tree | 3bd822ff85525a6b6a2b73c1f5b97c708efb86bb | |
parent | 58a2a88eff059f4acd0ab3a81140dbb6cdb91c78 (diff) |
[usb]: move some omap24xx modules to the generic Makefile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39543 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 38 | ||||
-rw-r--r-- | target/linux/omap24xx/modules.mk | 37 |
2 files changed, 38 insertions, 37 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index e1d14a2926..38441e5e0a 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -36,6 +36,44 @@ define AddDepends/usb endef +define KernelPackage/musb-hdrc + TITLE:=Support for Mentor Graphics silicon dual role USB + KCONFIG:= \ + CONFIG_USB_MUSB_HDRC \ + CONFIG_MUSB_PIO_ONLY=n \ + CONFIG_USB_MUSB_OTG=y \ + CONFIG_USB_MUSB_DEBUG=y + DEPENDS:=@TARGET_omap24xx + FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko + AUTOLOAD:=$(call AutoLoad,46,musb_hdrc) + $(call AddDepends/usb) +endef + +define KernelPackage/musb-hdrc/description + Kernel support for Mentor Graphics silicon dual role USB device. +endef + +$(eval $(call KernelPackage,musb-hdrc)) + + + +define KernelPackage/nop-usb-xceiv + TITLE:=Support for USB OTG NOP transceiver + KCONFIG:= \ + CONFIG_NOP_USB_XCEIV + DEPENDS:=@TARGET_omap24xx + FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko + AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv) + $(call AddDepends/usb) +endef + +define KernelPackage/nop-usb-xceiv/description + Support for USB OTG NOP transceiver +endef + +$(eval $(call KernelPackage,nop-usb-xceiv)) + + define KernelPackage/usb-gadget TITLE:=USB Gadget support KCONFIG:=CONFIG_USB_GADGET diff --git a/target/linux/omap24xx/modules.mk b/target/linux/omap24xx/modules.mk index 182c5f19c0..4c73ab7c77 100644 --- a/target/linux/omap24xx/modules.mk +++ b/target/linux/omap24xx/modules.mk @@ -63,43 +63,6 @@ endef $(eval $(call KernelPackage,n810bm)) -define KernelPackage/musb-hdrc - TITLE:=Support for Mentor Graphics silicon dual role USB - KCONFIG:= \ - CONFIG_USB_MUSB_HDRC \ - CONFIG_MUSB_PIO_ONLY=n \ - CONFIG_USB_MUSB_OTG=y \ - CONFIG_USB_MUSB_DEBUG=y - DEPENDS:=@TARGET_omap24xx - FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko - AUTOLOAD:=$(call AutoLoad,46,musb_hdrc) - $(call AddDepends/usb) -endef - -define KernelPackage/musb-hdrc/description - Kernel support for Mentor Graphics silicon dual role USB device. -endef - -$(eval $(call KernelPackage,musb-hdrc)) - - -define KernelPackage/nop-usb-xceiv - TITLE:=Support for USB OTG NOP transceiver - KCONFIG:= \ - CONFIG_NOP_USB_XCEIV - DEPENDS:=@TARGET_omap24xx - FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko - AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv) - $(call AddDepends/usb) -endef - -define KernelPackage/nop-usb-xceiv/description - Support for USB OTG NOP transceiver -endef - -$(eval $(call KernelPackage,nop-usb-xceiv)) - - define KernelPackage/tusb6010 TITLE:=Support for TUSB 6010 KCONFIG:= \ |