summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-05-02 22:55:55 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-05-02 22:55:55 +0000
commit973c9a0f5b37af3177c8289e3aeab867adbe0ab0 (patch)
tree9892202937e2aa2bc6a2a9d6760764a72cbde095 /package
parentaf4f534244c5dc1befedea883860a947ee3aa388 (diff)
downloadmtk-20170518-973c9a0f5b37af3177c8289e3aeab867adbe0ab0.zip
mtk-20170518-973c9a0f5b37af3177c8289e3aeab867adbe0ab0.tar.gz
mtk-20170518-973c9a0f5b37af3177c8289e3aeab867adbe0ab0.tar.bz2
kernel: omap: omap-des.ko is not available in kernel 3.13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40665
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/crypto.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 0df2fbc..efa69b7 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -213,11 +213,18 @@ define KernelPackage/crypto-hw-omap
CONFIG_CRYPTO_DEV_OMAP_AES \
CONFIG_CRYPTO_DEV_OMAP_DES \
CONFIG_CRYPTO_DEV_OMAP_SHAM
+ifneq ($(wildcard $(LINUX_DIR)/drivers/crypto/omap-des.ko),)
FILES:= \
$(LINUX_DIR)/drivers/crypto/omap-aes.ko \
$(LINUX_DIR)/drivers/crypto/omap-des.ko \
$(LINUX_DIR)/drivers/crypto/omap-sham.ko
AUTOLOAD:=$(call AutoLoad,90,omap-aes omap-des omap-sham)
+else
+ FILES:= \
+ $(LINUX_DIR)/drivers/crypto/omap-aes.ko \
+ $(LINUX_DIR)/drivers/crypto/omap-sham.ko
+ AUTOLOAD:=$(call AutoLoad,90,omap-aes omap-sham)
+endif
$(call AddDepends/crypto,+kmod-crypto-manager +kmod-crypto-hash)
endef