From: Hauke Mehrtens Date: Fri, 2 May 2014 22:55:55 +0000 (+0000) Subject: kernel: omap: omap-des.ko is not available in kernel 3.13 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=973c9a0f5b37af3177c8289e3aeab867adbe0ab0;p=openwrt%2Fstaging%2Flinusw.git kernel: omap: omap-des.ko is not available in kernel 3.13 Signed-off-by: Hauke Mehrtens SVN-Revision: 40665 --- 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