summaryrefslogtreecommitdiff
path: root/package/kernel/modules/pcmcia.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 12:49:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 12:49:56 +0000
commit67dac5cad683c1e870b7a6c01cb4fbe44942ab6b (patch)
tree58e74f6b22ea20e843e96e775a3a5ac28d7d8504 /package/kernel/modules/pcmcia.mk
parentdc74adf4453d5f9bfaf5896e7de43938ab628472 (diff)
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/pcmcia.mk')
-rw-r--r--package/kernel/modules/pcmcia.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/pcmcia.mk b/package/kernel/modules/pcmcia.mk
index 9dee29817e..c7cc8f8abc 100644
--- a/package/kernel/modules/pcmcia.mk
+++ b/package/kernel/modules/pcmcia.mk
@@ -54,7 +54,8 @@ define KernelPackage/pcmcia-yenta
KCONFIG:= \
CONFIG_PCCARD_NONSTATIC \
CONFIG_YENTA
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
+# For Linux 2.6.35+
+ifneq ($(wildcard $(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko),)
FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko \
$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko