5a30d822739d201fb6b7c06654a5300d92c82afb
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.32 / 970-ocf_kbuild_integration.patch
1 --- a/crypto/Kconfig
2 +++ b/crypto/Kconfig
3 @@ -814,6 +814,8 @@ config CRYPTO_ANSI_CPRNG
4           ANSI X9.31 A.2.4. Not this option must be enabled if CRYPTO_FIPS 
5           is selected
6  
7 +source "crypto/ocf/Kconfig"
8 +
9  source "drivers/crypto/Kconfig"
10  
11  endif  # if CRYPTO
12 --- a/crypto/Makefile
13 +++ b/crypto/Makefile
14 @@ -86,6 +86,11 @@ obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
15  obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
16  
17  #
18 +# OCF
19 +#
20 +obj-$(CONFIG_OCF_OCF) += ocf/
21 +
22 +#
23  # generic algorithms and the async_tx api
24  #
25  obj-$(CONFIG_XOR_BLOCKS) += xor.o