kernel: omap: omap-des.ko is not available in kernel 3.13

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40665
This commit is contained in:
Hauke Mehrtens 2014-05-02 22:55:55 +00:00
parent af4f534244
commit 973c9a0f5b
1 changed files with 7 additions and 0 deletions

View File

@ -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