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