linux: fix kmod-usbip* for >= 3.17

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44204
This commit is contained in:
Jo-Philipp Wich 2015-01-29 21:58:57 +00:00
parent 65f81429b4
commit 3fda4c9866

View File

@ -1359,7 +1359,9 @@ define KernelPackage/usbip
KCONFIG:= \ KCONFIG:= \
CONFIG_USBIP_CORE \ CONFIG_USBIP_CORE \
CONFIG_USBIP_DEBUG=n CONFIG_USBIP_DEBUG=n
FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko FILES:= \
$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko@lt3.17 \
$(LINUX_DIR)/drivers/usb/usbip/usbip-core.ko@ge3.17
AUTOLOAD:=$(call AutoProbe,usbip-core) AUTOLOAD:=$(call AutoProbe,usbip-core)
$(call AddDepends/usb) $(call AddDepends/usb)
endef endef
@ -1371,7 +1373,9 @@ define KernelPackage/usbip-client
TITLE := USB-over-IP client driver TITLE := USB-over-IP client driver
DEPENDS := +kmod-usbip DEPENDS := +kmod-usbip
KCONFIG := CONFIG_USBIP_VHCI_HCD KCONFIG := CONFIG_USBIP_VHCI_HCD
FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX) FILES := \
$(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.ko@lt3.17 \
$(LINUX_DIR)/drivers/usb/usbip/vhci-hcd.ko@ge3.17
AUTOLOAD := $(call AutoProbe,vhci-hcd) AUTOLOAD := $(call AutoProbe,vhci-hcd)
$(call AddDepends/usb) $(call AddDepends/usb)
endef endef
@ -1384,7 +1388,9 @@ $(call KernelPackage/usbip/Default)
TITLE := USB-over-IP host driver TITLE := USB-over-IP host driver
DEPENDS := +kmod-usbip DEPENDS := +kmod-usbip
KCONFIG := CONFIG_USBIP_HOST KCONFIG := CONFIG_USBIP_HOST
FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko FILES := \
$(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko@lt3.17 \
$(LINUX_DIR)/drivers/usb/usbip/usbip-host.ko@ge3.17
AUTOLOAD := $(call AutoProbe,usbip-host) AUTOLOAD := $(call AutoProbe,usbip-host)
$(call AddDepends/usb) $(call AddDepends/usb)
endef endef