kernel: fix module names for crypto modules in 3.7
authorGabor Juhos <juhosg@openwrt.org>
Tue, 18 Dec 2012 14:50:43 +0000 (14:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 18 Dec 2012 14:50:43 +0000 (14:50 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34751

package/kernel/modules/crypto.mk

index d8242952b9485c317d2f4e0ff90b75ed6959d278..2fed357ea89ced9799bc29c97dac09dbf62900b3 100644 (file)
@@ -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 \