Changeset 29776


Ignore:
Timestamp:
2012-01-18T18:13:23+01:00 (6 years ago)
Author:
hauke
Message:

packages: kernel: add usb-common.ko to usb package for kernel >= 3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/usb.mk

    r29575 r29776  
    1717  DEPENDS:=@USB_SUPPORT 
    1818  KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n 
    19   FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko 
    20   AUTOLOAD:=$(call AutoLoad,20,usbcore,1) 
     19  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1) 
     20    FILES:= \ 
     21        $(LINUX_DIR)/drivers/usb/core/usbcore.ko \ 
     22        $(LINUX_DIR)/drivers/usb/usb-common.ko 
     23    AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1) 
     24  else 
     25    FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko 
     26    AUTOLOAD:=$(call AutoLoad,20,usbcore,1) 
     27  endif 
    2128  $(call AddDepends/nls) 
    2229endef 
Note: See TracChangeset for help on using the changeset viewer.