diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-07 16:51:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-07 16:51:53 +0000 |
commit | a1b2ddfdde76e1bd440aab19b01b6e06e23ec475 (patch) | |
tree | 8cb25cbb3dc9ece26182f3434e46c0b28d343f08 | |
parent | a165494cd27c3f6a6887db3fc9cc2ec3d714f77e (diff) |
kernel: add module packages for usbip (from the packages feed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32117 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/usb.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 143f7540f..1e5c7aad4 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)) |