[brcm47xx] move usb driver to target specific modules.mk
authorFlorian Fainelli <florian@openwrt.org>
Wed, 25 Jul 2012 15:50:33 +0000 (15:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 25 Jul 2012 15:50:33 +0000 (15:50 +0000)
SVN-Revision: 32861

package/kernel/modules/usb.mk
target/linux/brcm47xx/modules.mk [new file with mode: 0644]

index 600d420..87ae707 100644 (file)
@@ -905,21 +905,6 @@ endef
 
 $(eval $(call KernelPackage,usb-rt305x-dwc_otg))
 
-define KernelPackage/usb-brcm47xx
-  SUBMENU:=$(USB_MENU)
-  TITLE:=Support for USB on bcm47xx
-  DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
-  KCONFIG:= \
-       CONFIG_USB_HCD_BCMA \
-       CONFIG_USB_HCD_SSB
-  FILES:= \
-       $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
-       $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
-  AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
-  $(call AddDepends/usb)
-endef
-
-$(eval $(call KernelPackage,usb-brcm47xx))
 
 define KernelPackage/usbip
   TITLE := USB-over-IP kernel support
diff --git a/target/linux/brcm47xx/modules.mk b/target/linux/brcm47xx/modules.mk
new file mode 100644 (file)
index 0000000..a7e25fd
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Copyright (C) 2006-2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/usb-brcm47xx
+  SUBMENU:=$(USB_MENU)
+  TITLE:=Support for USB on bcm47xx
+  DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
+  KCONFIG:= \
+       CONFIG_USB_HCD_BCMA \
+       CONFIG_USB_HCD_SSB
+  FILES:= \
+       $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
+       $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
+  AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
+  $(call AddDepends/usb)
+endef
+
+$(eval $(call KernelPackage,usb-brcm47xx))