summaryrefslogtreecommitdiff
path: root/package/kernel/modules/other.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/other.mk
parent62c174067616a911ef77a8cf02a6cc2220e534ec (diff)
downloadmtk-20170518-0f64b1d870e18f69729d9279f0c573ce2ecb0479.zip
mtk-20170518-0f64b1d870e18f69729d9279f0c573ce2ecb0479.tar.gz
mtk-20170518-0f64b1d870e18f69729d9279f0c573ce2ecb0479.tar.bz2
kernel: speed up building kernel packages by getting rid of unnecessary CompareKernelPatchVer calls
SVN-Revision: 22724
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index f27e2ef..59ddde3 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -552,7 +552,7 @@ define KernelPackage/rfkill
CONFIG_RFKILL \
CONFIG_RFKILL_INPUT=y \
CONFIG_RFKILL_LEDS=y
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
+ifeq ($(CONFIG_LINUX_2_6_30),)
FILES:= \
$(LINUX_DIR)/net/rfkill/rfkill.ko
AUTOLOAD:=$(call AutoLoad,20,rfkill)