summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.27/970-ocf_kbuild_integration.patch
blob: 243708f7edac902d2b817345adda13f352f6552a (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
@@ -666,6 +666,8 @@ config CRYPTO_LZO
 	help
 	  This is the LZO algorithm.
 
+source "crypto/ocf/Kconfig"
+
 source "drivers/crypto/Kconfig"
 
 endif	# if CRYPTO
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -73,6 +73,11 @@ obj-$(CONFIG_CRYPTO_LZO) += lzo.o
 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
 
 #
+# OCF
+#
+obj-$(CONFIG_OCF_OCF) += ocf/
+
+#
 # generic algorithms and the async_tx api
 #
 obj-$(CONFIG_XOR_BLOCKS) += xor.o