aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-05-02 22:55:55 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-05-02 22:55:55 +0000
commitc5860d782385ce6fcddaf305e6b5916ebdf389fc (patch)
tree8ad374a7675d9bdef81c0363635bc2cce5ba58b0 /package
parent74a5f2faec11c15a608aef485158d0886ae06459 (diff)
downloadupstream-c5860d782385ce6fcddaf305e6b5916ebdf389fc.tar.gz
upstream-c5860d782385ce6fcddaf305e6b5916ebdf389fc.tar.bz2
upstream-c5860d782385ce6fcddaf305e6b5916ebdf389fc.zip
kernel: omap: omap-des.ko is not available in kernel 3.13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40665 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0df2fbc3d7..efa69b7590 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