summaryrefslogtreecommitdiff
path: root/package/kernel/modules/crypto.mk
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-02-02 08:23:44 +0000
committerJonas Gorski <jogo@openwrt.org>2012-02-02 08:23:44 +0000
commitc336de3d85efb1a1150825870b7cbff4f7a65366 (patch)
tree1df886e923ad54d1454ad6004dd854c7d9a04b67 /package/kernel/modules/crypto.mk
parent3310df6b521c25898d7db6dcdf49b13eebd982a3 (diff)
downloadmtk-20170518-c336de3d85efb1a1150825870b7cbff4f7a65366.zip
mtk-20170518-c336de3d85efb1a1150825870b7cbff4f7a65366.tar.gz
mtk-20170518-c336de3d85efb1a1150825870b7cbff4f7a65366.tar.bz2
kernel: update module names and add new config symbols for linux 3.3
SVN-Revision: 29985
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r--package/kernel/modules/crypto.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index c8be6f9..5459de3 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -369,7 +369,6 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/cast6.ko \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/khazad.ko \
- $(LINUX_DIR)/crypto/serpent.ko \
$(LINUX_DIR)/crypto/sha256_generic.ko \
$(LINUX_DIR)/crypto/sha512_generic.ko \
$(LINUX_DIR)/crypto/tea.ko \
@@ -388,6 +387,11 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/blowfish_common.ko \
$(LINUX_DIR)/crypto/blowfish_generic.ko
endif
+ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,3.2)),1)
+ FILES += $(LINUX_DIR)/crypto/serpent.ko
+ else
+ FILES += $(LINUX_DIR)/crypto/serpent_generic.ko
+ endif
$(call AddDepends/crypto)
endef