aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/usb.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:56 +0000
commit0f64b1d870e18f69729d9279f0c573ce2ecb0479 (patch)
treeaac6560318fe2f152d2e72a81a34b368390b60af /package/kernel/modules/usb.mk
parent62c174067616a911ef77a8cf02a6cc2220e534ec (diff)
downloadupstream-0f64b1d870e18f69729d9279f0c573ce2ecb0479.tar.gz
upstream-0f64b1d870e18f69729d9279f0c573ce2ecb0479.tar.bz2
upstream-0f64b1d870e18f69729d9279f0c573ce2ecb0479.zip
kernel: speed up building kernel packages by getting rid of unnecessary CompareKernelPatchVer calls
SVN-Revision: 22724
Diffstat (limited to 'package/kernel/modules/usb.mk')
-rw-r--r--package/kernel/modules/usb.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 7144833158..45f69f638b 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -145,7 +145,8 @@ define KernelPackage/usb-audio
CONFIG_SND_USB_AUDIO
$(call AddDepends/usb)
$(call AddDepends/sound)
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
+# For Linux 2.6.35+
+ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
FILES:= \
$(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
$(LINUX_DIR)/sound/usb/snd-usb-audio.ko