summaryrefslogtreecommitdiff
path: root/package/kernel/modules/crypto.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r--package/kernel/modules/crypto.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index bb612fcf6c..a148af1227 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -376,14 +376,14 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/twofish_common.ko \
$(LINUX_DIR)/crypto/wp512.ko \
$(LINUX_DIR)/crypto/twofish_generic.ko
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,3.1)),1)
+ ifdef CONFIG_LINUX_3_1
FILES += $(LINUX_DIR)/crypto/blowfish.ko
else
FILES += \
$(LINUX_DIR)/crypto/blowfish_common.ko \
$(LINUX_DIR)/crypto/blowfish_generic.ko
endif
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,3.2)),1)
+ ifeq ($(CONFIG_LINUX_3_1)$(CONFIG_LINUX_3_2)),)
FILES += $(LINUX_DIR)/crypto/serpent.ko
else
FILES += $(LINUX_DIR)/crypto/serpent_generic.ko