From: Alexandros C. Couloumbis Date: Mon, 6 Sep 2010 11:41:09 +0000 (+0000) Subject: package/kernel: update crypto.mk for kernel 2.6.36 X-Git-Tag: reboot~18957 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e9996f7cdca15e5dd5311ae205f5fcac690e4988;p=openwrt%2Fstaging%2Fblogic.git package/kernel: update crypto.mk for kernel 2.6.36 SVN-Revision: 22954 --- diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 421e37fa710c..9227deb80b9f 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -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