aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-09-11 21:42:37 +0000
committerMichael Büsch <mb@bu3sch.de>2010-09-11 21:42:37 +0000
commite1b618fafb7cc8795601e355451592c49e22dcb3 (patch)
tree7d316ba50fcf4bc7ba5fe4306113529e31c6adca /package/kernel
parent6be00316a11b969470e44876a5a2b9381769766a (diff)
downloadupstream-e1b618fafb7cc8795601e355451592c49e22dcb3.tar.gz
upstream-e1b618fafb7cc8795601e355451592c49e22dcb3.tar.bz2
upstream-e1b618fafb7cc8795601e355451592c49e22dcb3.zip
Fix kernel crypto modules for >= 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/crypto.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 9227deb80b..1ec540be1b 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 \