mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
packages: kernel: add usb-common.ko to usb package for kernel >= 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29776 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
acf4b409c3
commit
59006bd473
@ -16,8 +16,15 @@ define KernelPackage/usb-core
|
|||||||
TITLE:=Support for USB
|
TITLE:=Support for USB
|
||||||
DEPENDS:=@USB_SUPPORT
|
DEPENDS:=@USB_SUPPORT
|
||||||
KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
|
KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
|
||||||
AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/usb/core/usbcore.ko \
|
||||||
|
$(LINUX_DIR)/drivers/usb/usb-common.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
|
||||||
|
else
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
|
||||||
|
endif
|
||||||
$(call AddDepends/nls)
|
$(call AddDepends/nls)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user