summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-02 19:26:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-02 19:26:45 +0000
commit5331a85501a0dac917d7f46d0a4b9b7b397b5a1c (patch)
tree95a86742d781a0c5329c8be78e44580c61659e1a /package
parent8a9979e57a5754e2d4f1fcde1ac162634bcc0417 (diff)
downloadmtk-20170518-5331a85501a0dac917d7f46d0a4b9b7b397b5a1c.zip
mtk-20170518-5331a85501a0dac917d7f46d0a4b9b7b397b5a1c.tar.gz
mtk-20170518-5331a85501a0dac917d7f46d0a4b9b7b397b5a1c.tar.bz2
kernel/modules: package xhci for kernel>=3.18
xhci-hcd was split into xhci-pci and xhci-platform since 3.18 Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43502
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/usb.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 4cd3bf0..4644cbb 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1463,16 +1463,20 @@ endef
$(eval $(call KernelPackage,usbmon))
+XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat))
+XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
define KernelPackage/usb3
TITLE:=Support for USB3 controllers
DEPENDS:=+TARGET_omap:kmod-usb-phy-omap-usb3
KCONFIG:= \
CONFIG_USB_XHCI_HCD \
+ CONFIG_USB_XHCI_PCI \
+ CONFIG_USB_XHCI_PLATFORM \
CONFIG_USB_XHCI_HCD_DEBUGGING=n
FILES:= \
- $(LINUX_DIR)/drivers/usb/host/xhci-hcd.ko
- AUTOLOAD:=$(call AutoLoad,54,xhci-hcd,1)
+ $(XHCI_FILES)
+ AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
$(call AddDepends/usb)
endef