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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43502 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
b2618331dd
commit
9a03fea5ae
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue