aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/900-ocf-kconfig-integration.patch
blob: e176bf5366ab7b2cfefc52dc8296497056d5097f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/crypto/Config.in
+++ b/crypto/Config.in
@@ -117,4 +117,6 @@ if [ "$CONFIG_CRYPTO" = "y" ]; then
   tristate       '  Testing module' CONFIG_CRYPTO_TEST
 fi
 
+source crypto/ocf/Config.in
+
 endmenu
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -36,4 +36,9 @@ obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += mich
 
 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
 
+mod-subdirs += ocf
+subdir-$(CONFIG_OCF_OCF) += ocf
+ocf-$(CONFIG_OCF_OCF) = ocf/ocfdrv.o
+obj-$(CONFIG_OCF_OCF) += $(ocf-y)
+
 include $(TOPDIR)/Rules.make