aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-18 14:50:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-18 14:50:43 +0000
commitae97cc7d0ffd25d6c8e83d916a2524d357daf2b8 (patch)
treeafc777cf4cdb0f134cc7cd7ba7955a1d463c7eaf
parentcfc648957957d97d85b6378c51146492577ae5fc (diff)
downloadupstream-ae97cc7d0ffd25d6c8e83d916a2524d357daf2b8.tar.gz
upstream-ae97cc7d0ffd25d6c8e83d916a2524d357daf2b8.tar.bz2
upstream-ae97cc7d0ffd25d6c8e83d916a2524d357daf2b8.zip
kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34751
-rw-r--r--package/kernel/modules/crypto.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index d8242952b9..2fed357ea8 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -335,6 +335,9 @@ $(eval $(call KernelPackage,crypto-sha1))
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
camellia_mod_suffix=_generic
endif
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
+cast56_mod_suffix=_generic
+endif
define KernelPackage/crypto-misc
TITLE:=Other CryptoAPI modules
@@ -359,8 +362,8 @@ define KernelPackage/crypto-misc
FILES:= \
$(LINUX_DIR)/crypto/anubis.ko \
$(LINUX_DIR)/crypto/camellia$(camellia_mod_suffix).ko \
- $(LINUX_DIR)/crypto/cast5.ko \
- $(LINUX_DIR)/crypto/cast6.ko \
+ $(LINUX_DIR)/crypto/cast5$(cast56_mod_suffix).ko \
+ $(LINUX_DIR)/crypto/cast6$(cast56_mod_suffix).ko \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/khazad.ko \
$(LINUX_DIR)/crypto/sha256_generic.ko \