aboutsummaryrefslogtreecommitdiff
path: root/package/ocf-linux
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2012-05-05 03:30:23 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-05-05 16:21:40 +0200
commit5308d111b72bdce228252ebe2e44e28484117c5f (patch)
tree4724a05db45449f470ce08e28c19fee403e75a2f /package/ocf-linux
parentf18c51657f4ab038654297ccc8fb8e00314c8b60 (diff)
downloadbuildroot-5308d111b72bdce228252ebe2e44e28484117c5f.tar.gz
buildroot-5308d111b72bdce228252ebe2e44e28484117c5f.tar.bz2
ocf-linux: new package
Add the ocf-linux package and linux kernel extension. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ocf-linux')
-rw-r--r--package/ocf-linux/Config.in12
-rw-r--r--package/ocf-linux/ocf-linux.mk21
2 files changed, 33 insertions, 0 deletions
diff --git a/package/ocf-linux/Config.in b/package/ocf-linux/Config.in
new file mode 100644
index 0000000000..9dc5766074
--- /dev/null
+++ b/package/ocf-linux/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_OCF_LINUX
+ bool "ocf-linux"
+ help
+ OCF-Linux is a Linux port of the OpenBSD/FreeBSD Cryptographic
+ Framework (OCF). This port aims to bring full asynchronous HW/SW
+ crypto acceleration to the Linux kernel and applications
+ running under Linux.
+
+ You need to enable the OCF linux kernel extension or provide
+ a prepatched kernel to make this option useful.
+
+ http://ocf-linux.sourceforge.net/
diff --git a/package/ocf-linux/ocf-linux.mk b/package/ocf-linux/ocf-linux.mk
new file mode 100644
index 0000000000..e615225256
--- /dev/null
+++ b/package/ocf-linux/ocf-linux.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# ocf-linux
+#
+#############################################################
+
+OCF_LINUX_VERSION = 20120127
+OCF_LINUX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/ocf-linux/ocf-linux/$(OCF_LINUX_VERSION)
+OCF_LINUX_INSTALL_STAGING = YES
+
+define OCF_LINUX_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
+ $(STAGING_DIR)/usr/include/crypto/cryptodev.h
+endef
+
+define OCF_LINUX_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
+ $(TARGET_DIR)/usr/include/crypto/cryptodev.h
+endef
+
+$(eval $(call GENTARGETS))