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-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=02e6acc6cef1c7ddf3c4a539c1e90a28efddaca7 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 \