From 8eeeaa5f3ffc20ddeca17d6dcf374faa1dc4f172 Mon Sep 17 00:00:00 2001 From: mb Date: Sat, 11 Sep 2010 21:42:37 +0000 Subject: [PATCH] Fix kernel crypto modules for >= 2.6.36 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23026 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/crypto.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 9227deb80..1ec540be1 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -22,9 +22,9 @@ SHA256_SUFFIX:=$(CRYPTO_GENERIC) SHA512_SUFFIX:=$(CRYPTO_GENERIC) CRYPTO_MODULES = \ - ALGAPI=crypto_algapi \ + $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),ALGAPI2,ALGAPI)=crypto_algapi \ AEAD2=aead \ - PCOMP=pcompress \ + $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),PCOMP2,PCOMP)=pcompress \ BLKCIPHER2=crypto_blkcipher \ HASH2=crypto_hash \ MANAGER2=cryptomgr \ -- 2.20.1