aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-09-06 11:41:09 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-09-06 11:41:09 +0000
commit18aa8725ff0737af37d712acf364af0a7bfe619d (patch)
treedf7a9b047edb149f04f504a4e794464fba0efebd /package/kernel
parent212f91f0522c9fe3acd04524b9cf7cdbf307d710 (diff)
downloadupstream-18aa8725ff0737af37d712acf364af0a7bfe619d.tar.gz
upstream-18aa8725ff0737af37d712acf364af0a7bfe619d.tar.bz2
upstream-18aa8725ff0737af37d712acf364af0a7bfe619d.zip
package/kernel: update crypto.mk for kernel 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22954 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/crypto.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 421e37fa71..9227deb80b 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