diff options
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r-- | package/kernel/modules/crypto.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index c8be6f9460..5459de382e 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 |