From: Michael Büsch Date: Sat, 11 Sep 2010 21:42:37 +0000 (+0000) Subject: Fix kernel crypto modules for >= 2.6.36 X-Git-Tag: reboot~18930 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=393c83514bf9321f67910ec4ca00abf9922b74a6;p=oweals%2Fopenwrt.git Fix kernel crypto modules for >= 2.6.36 SVN-Revision: 23026 --- 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 \