aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:33 +0000
commitc14d907b8b5ceb35d89b8001676c1d571a76fb07 (patch)
tree2f69b5f14083ef3223397d1aa54f5930a2752790 /target/linux/brcm47xx
parent5b2450ef4f8c529cf09782e8d748f36f1c6b22d3 (diff)
downloadupstream-c14d907b8b5ceb35d89b8001676c1d571a76fb07.tar.gz
upstream-c14d907b8b5ceb35d89b8001676c1d571a76fb07.tar.bz2
upstream-c14d907b8b5ceb35d89b8001676c1d571a76fb07.zip
move usb driver to target specific modules.mk
SVN-Revision: 32861
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/modules.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/modules.mk b/target/linux/brcm47xx/modules.mk
new file mode 100644
index 0000000000..a7e25fd3b4
--- /dev/null
+++ b/target/linux/brcm47xx/modules.mk
@@ -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))