[kernel] The vfat directory have chanced with all newer kernel.
[openwrt.git] / package / kernel / modules / crypto.mk
index 78a8a19..68c1a95 100644 (file)
@@ -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.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 \
 
 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 \
        BLKCIPHER=$(BLKCIPHER_PREFIX)blkcipher \
        HASH=crypto_hash \
        MANAGER=cryptomgr \
This page took 0.021875 seconds and 4 git commands to generate.