kernel: speed up building kernel packages by getting rid of unnecessary CompareKernelPatchVer calls

SVN-Revision: 22724
This commit is contained in:
Felix Fietkau
2010-08-19 12:49:56 +00:00
parent 62c1740676
commit 0f64b1d870
3 changed files with 5 additions and 3 deletions

View File

@@ -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