kernel/modules: build pcompress.ko for kernel >=2.6.30

SVN-Revision: 15737
This commit is contained in:
Gabor Juhos 2009-05-09 06:16:56 +00:00
parent 4a7439521b
commit 73a315e772

View file

@ -28,11 +28,14 @@ endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.26)),1) ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.26)),1)
SHA512_SUFFIX:=$(CRYPTO_GENERIC) SHA512_SUFFIX:=$(CRYPTO_GENERIC)
endif endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1)
CRYPTO_MODULE_PCOMPRESS:=PCOMPRESS=pcompress
endif
CRYPTO_MODULES = \ CRYPTO_MODULES = \
ALGAPI=crypto_algapi \ ALGAPI=crypto_algapi \
AEAD=aead \ AEAD=aead \
$(if $(LINUX_2_6_30),PCOMPRESS=pcompress) \ $(CRYPTO_MODULE_PCOMPRESS) \
BLKCIPHER=$(BLKCIPHER_PREFIX)blkcipher \ BLKCIPHER=$(BLKCIPHER_PREFIX)blkcipher \
HASH=crypto_hash \ HASH=crypto_hash \
MANAGER=cryptomgr \ MANAGER=cryptomgr \