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