package/kernel: update crypto.mk for kernel 2.6.36
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Sep 2010 11:41:09 +0000 (11:41 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Sep 2010 11:41:09 +0000 (11:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22954 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/crypto.mk

index 421e37f..9227deb 100644 (file)
@@ -267,7 +267,8 @@ define KernelPackage/crypto-misc
        $(LINUX_DIR)/crypto/sha256$(SHA256_SUFFIX).ko \
        $(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).ko \
        $(LINUX_DIR)/crypto/tea.ko \
-       $(LINUX_DIR)/crypto/twofish.ko \
+       $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.35)),,$(LINUX_DIR)/crypto/twofish.ko) \
+       $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)),,$(LINUX_DIR)/crypto/twofish_generic.ko) \
        $(LINUX_DIR)/crypto/wp512.ko
   $(call AddDepends/crypto)
 endef
This page took 0.023484 seconds and 4 git commands to generate.