kernel: add module packages for usbip (from the packages feed)

SVN-Revision: 32117
master
Felix Fietkau 13 years ago
parent 7b11052092
commit 287b504a2c
  1. 31
      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))

Loading…
Cancel
Save