aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-08-01 23:04:42 +0000
committerJonas Gorski <jogo@openwrt.org>2013-08-01 23:04:42 +0000
commit6e8c1f1e2801fc28ba24326adc497232abc9bd06 (patch)
treeb82ab05705ccd0dfeca160533e24f01a6fa1ad5e /target
parent7711e80276ec863900da68ceac9cb91626d8ee91 (diff)
downloadupstream-6e8c1f1e2801fc28ba24326adc497232abc9bd06.tar.gz
upstream-6e8c1f1e2801fc28ba24326adc497232abc9bd06.tar.bz2
upstream-6e8c1f1e2801fc28ba24326adc497232abc9bd06.zip
kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher, so let it select these through kernel config. Fixes the following build error: ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined! ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined! ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined! make[6]: *** [__modpost] Error 1 make[5]: *** [modules] Error 2 Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/files/crypto/ocf/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/files/crypto/ocf/Kconfig b/target/linux/generic/files/crypto/ocf/Kconfig
index 65a4461915..d5e4c7209d 100644
--- a/target/linux/generic/files/crypto/ocf/Kconfig
+++ b/target/linux/generic/files/crypto/ocf/Kconfig
@@ -27,6 +27,9 @@ config OCF_CRYPTODEV
config OCF_CRYPTOSOFT
tristate "cryptosoft (software crypto engine)"
depends on OCF_OCF
+ select CRYPTO
+ select CRYPTO_HASH
+ select CRYPTO_BLKCIPHER
help
A software driver for the OCF framework that uses
the kernel CryptoAPI.