diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 12:49:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 12:49:56 +0000 |
commit | 096271915be4ce3bf3680c1cd230ab5bb89e440b (patch) | |
tree | 58e74f6b22ea20e843e96e775a3a5ac28d7d8504 /package/kernel/modules/usb.mk | |
parent | f1f392ab5f9174a11c1cce71567316100187be39 (diff) | |
download | upstream-096271915be4ce3bf3680c1cd230ab5bb89e440b.tar.gz upstream-096271915be4ce3bf3680c1cd230ab5bb89e440b.tar.bz2 upstream-096271915be4ce3bf3680c1cd230ab5bb89e440b.zip |
kernel: speed up building kernel packages by getting rid of unnecessary CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22724 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/usb.mk')
-rw-r--r-- | package/kernel/modules/usb.mk | 3 |
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 |