From: Gabor Juhos Date: Sat, 9 May 2009 06:16:56 +0000 (+0000) Subject: [package] kernel/modules: build pcompress.ko for kernel >=2.6.30 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4664be321efa1247e5e1d2581af6d4eb2877ee81;p=openwrt%2Fsvn-archive%2Farchive.git [package] kernel/modules: build pcompress.ko for kernel >=2.6.30 SVN-Revision: 15737 --- diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 78a8a19fbf..68c1a95cfe 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:=PCOMPRESS=pcompress +endif CRYPTO_MODULES = \ ALGAPI=crypto_algapi \ AEAD=aead \ - $(if $(LINUX_2_6_30),PCOMPRESS=pcompress) \ + $(CRYPTO_MODULE_PCOMPRESS) \ BLKCIPHER=$(BLKCIPHER_PREFIX)blkcipher \ HASH=crypto_hash \ MANAGER=cryptomgr \