aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-07 16:51:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-07 16:51:53 +0000
commit287b504a2caec0c0a060e0c875f6a1cc9cf26873 (patch)
tree0ec3ef75f8747e93e296e24a628ffe533a237b12 /package
parent7b1105209231df4ffd9ebae9fd2b834e7574b700 (diff)
downloadupstream-287b504a2caec0c0a060e0c875f6a1cc9cf26873.tar.gz
upstream-287b504a2caec0c0a060e0c875f6a1cc9cf26873.tar.bz2
upstream-287b504a2caec0c0a060e0c875f6a1cc9cf26873.zip
kernel: add module packages for usbip (from the packages feed)
SVN-Revision: 32117
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/usb.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 143f7540f7..1e5c7aad41 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -994,3 +994,34 @@ endef
$(eval $(call KernelPackage,usb-brcm47xx))
+define KernelPackage/usbip
+ TITLE := USB-over-IP kernel support
+ KCONFIG:= \
+ CONFIG_USBIP_CORE \
+ CONFIG_USBIP_DEBUG=n
+ FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko
+ AUTOLOAD:=$(call AutoLoad,90,usbip-core)
+ $(call AddDepends/usb)
+endef
+$(eval $(call KernelPackage,usbip))
+
+define KernelPackage/usbip-client
+ TITLE := USB-over-IP client driver
+ DEPENDS := +kmod-usbip
+ KCONFIG := CONFIG_USBIP_VHCI_HCD
+ FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD := $(call AutoLoad,95,vhci-hcd)
+ $(call AddDepends/usb)
+endef
+$(eval $(call KernelPackage,usbip-client))
+
+define KernelPackage/usbip-server
+$(call KernelPackage/usbip/Default)
+ TITLE := USB-over-IP host driver
+ DEPENDS := +kmod-usbip
+ KCONFIG := CONFIG_USBIP_HOST
+ FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko
+ AUTOLOAD := $(call AutoLoad,95,usbip-host)
+ $(call AddDepends/usb)
+endef
+$(eval $(call KernelPackage,usbip-server))