openwrt/target/linux/generic-2.4/patches/900-ocf-kconfig-integration...

22 lines
508 B
Diff

--- 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