generic: early (incomplete!) 4.0 support
[openwrt.git] / target / linux / generic / patches-4.0 / 940-ocf_kbuild_integration.patch
1 --- a/crypto/Kconfig
2 +++ b/crypto/Kconfig
3 @@ -1537,3 +1537,6 @@ source "drivers/crypto/Kconfig"
4  source crypto/asymmetric_keys/Kconfig
5  
6  endif  # if CRYPTO
7 +
8 +source "crypto/ocf/Kconfig"
9 +
10 --- a/crypto/Makefile
11 +++ b/crypto/Makefile
12 @@ -102,6 +102,8 @@ obj-$(CONFIG_CRYPTO_USER_API_HASH) += al
13  obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
14  obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o
15  
16 +obj-$(CONFIG_OCF_OCF) += ocf/
17 +
18  #
19  # generic algorithms and the async_tx api
20  #