broadcom-wl: remove pcmcia support
[openwrt.git] / package / kernel / modules / pcmcia.mk
index 9dee298..c7cc8f8 100644 (file)
@@ -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
This page took 0.024182 seconds and 4 git commands to generate.