summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/crypto.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 22:13:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 22:13:22 +0000
commit47e651e2ebd313a75130c9e7746f7b2f501488b4 (patch)
tree8f57bcc4e7c784e93b72e7cd9139ceeb6c9c3d69 /package/kernel/linux/modules/crypto.mk
parent77aa8e8aee1563ac90feb40aec277da6e0ecc139 (diff)
downloadmtk-20170518-47e651e2ebd313a75130c9e7746f7b2f501488b4.zip
mtk-20170518-47e651e2ebd313a75130c9e7746f7b2f501488b4.tar.gz
mtk-20170518-47e651e2ebd313a75130c9e7746f7b2f501488b4.tar.bz2
kernel: drop obsolete kernel version checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44113
Diffstat (limited to 'package/kernel/linux/modules/crypto.mk')
-rw-r--r--package/kernel/linux/modules/crypto.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index bcd4506..2f1d33f 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -495,13 +495,6 @@ endef
$(eval $(call KernelPackage,crypto-sha256))
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
-camellia_mod_suffix=_generic
-endif
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
-cast56_mod_suffix=_generic
-endif
-
define KernelPackage/crypto-misc
TITLE:=Other CryptoAPI modules
DEPENDS:=+kmod-crypto-manager
@@ -523,10 +516,10 @@ define KernelPackage/crypto-misc
CONFIG_CRYPTO_WP512
FILES:= \
$(LINUX_DIR)/crypto/anubis.ko \
- $(LINUX_DIR)/crypto/camellia$(camellia_mod_suffix).ko \
- $(if $(call kernel_patchver_ge,3.7),$(LINUX_DIR)/crypto/cast_common.ko) \
- $(LINUX_DIR)/crypto/cast5$(cast56_mod_suffix).ko \
- $(LINUX_DIR)/crypto/cast6$(cast56_mod_suffix).ko \
+ $(LINUX_DIR)/crypto/camellia_generic.ko \
+ $(LINUX_DIR)/crypto/cast_common.ko \
+ $(LINUX_DIR)/crypto/cast5_generic.ko \
+ $(LINUX_DIR)/crypto/cast6_generic.ko \
$(LINUX_DIR)/crypto/khazad.ko \
$(LINUX_DIR)/crypto/sha512_generic.ko \
$(LINUX_DIR)/crypto/tea.ko \