From 2d521cfa12ceb95cc6e0cf073bbee415835f82d5 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 18 Dec 2012 14:50:43 +0000 Subject: kernel: fix module names for crypto modules in 3.7 Signed-off-by: David Woodhouse Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34751 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/crypto.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index d8242952b..2fed357ea 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 \ -- cgit v1.2.3