openwrt/target/linux/generic-2.4/patches/900-ocf-kconfig-integration.patch
Jo-Philipp Wich 0ff83e90ba add OCF 20100325 support to brcm-2.4
SVN-Revision: 21357
2010-05-04 21:00:14 +00:00

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