move usb driver to target specific modules.mk
[openwrt/openwrt.git] / target / linux / brcm47xx / modules.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/usb-brcm47xx
9 SUBMENU:=$(USB_MENU)
10 TITLE:=Support for USB on bcm47xx
11 DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
12 KCONFIG:= \
13 CONFIG_USB_HCD_BCMA \
14 CONFIG_USB_HCD_SSB
15 FILES:= \
16 $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
17 $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
18 AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
19 $(call AddDepends/usb)
20 endef
21
22 $(eval $(call KernelPackage,usb-brcm47xx))