summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-12 15:31:00 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-12 15:31:00 +0000
commitc03c029dae81531d67022b3f8496298cf61a89fe (patch)
tree6ff7c7665b1f5541ecc0c6389bcc0618e914eeb6 /package/kernel
parent0748f978567bc71c4c46c0e04a5eba3603171b64 (diff)
Fix compilation of crypto modules.
This fixes #7920 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23028 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 1ec540be1b..3be3afdcaa 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 = \
- $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),ALGAPI2,ALGAPI)=crypto_algapi \
+ $(if $(filter 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),ALGAPI2,ALGAPI)=crypto_algapi \
AEAD2=aead \
- $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),PCOMP2,PCOMP)=pcompress \
+ $(if $(filter 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),PCOMP2,PCOMP)=pcompress \
BLKCIPHER2=crypto_blkcipher \
HASH2=crypto_hash \
MANAGER2=cryptomgr \