diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-05-09 06:16:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-05-09 06:16:56 +0000 |
commit | 73a315e7728f6152ea36c26bb95f8b096dd29ca1 (patch) | |
tree | 774a2fbc6c5679d22f6904e33831e9684120b871 | |
parent | 4a7439521bc8f91d7b2fd0a0f0c70af9113ab304 (diff) | |
download | mtk-20170518-73a315e7728f6152ea36c26bb95f8b096dd29ca1.zip mtk-20170518-73a315e7728f6152ea36c26bb95f8b096dd29ca1.tar.gz mtk-20170518-73a315e7728f6152ea36c26bb95f8b096dd29ca1.tar.bz2 |
kernel/modules: build pcompress.ko for kernel >=2.6.30
SVN-Revision: 15737
-rw-r--r-- | package/kernel/modules/crypto.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 78a8a19..68c1a95 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 \ |