move usb driver to target specific modules.mk

SVN-Revision: 32861
This commit is contained in:
Florian Fainelli 2012-07-25 15:50:33 +00:00
parent 5b2450ef4f
commit c14d907b8b
2 changed files with 22 additions and 15 deletions

View 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

View File

@ -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))