X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/4d350e7f39d908b55fad788173deb7caa53ebce9..ccd6b5b27f2bb9f9fc50d5efb1ade3f6ca82e206:/package/kernel/modules/crypto.mk diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index cb8d0256e..530ca398d 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -28,11 +28,14 @@ endif ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.26)),1) SHA512_SUFFIX:=$(CRYPTO_GENERIC) endif +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1) + CRYPTO_MODULE_PCOMPRESS:=PCOMP=pcompress +endif CRYPTO_MODULES = \ ALGAPI=crypto_algapi \ AEAD=aead \ - PCOMPRESS=pcompress \ + $(CRYPTO_MODULE_PCOMPRESS) \ BLKCIPHER=$(BLKCIPHER_PREFIX)blkcipher \ HASH=crypto_hash \ MANAGER=cryptomgr \