mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -338,7 +338,7 @@ define KernelPackage/usb-ohci
|
||||
CONFIG_USB_OHCI_HCD_OMAP3=y \
|
||||
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
|
||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.11.0)),1)
|
||||
ifeq ($(CONFIG_LINUX_3_8)$(CONFIG_LINUX_3_10),)
|
||||
FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
|
||||
endif
|
||||
AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform,1)
|
||||
|
||||
Reference in New Issue
Block a user