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>
This commit is contained in:
Gustavo Zacarias
2012-05-05 03:30:23 +00:00
committed by Peter Korsgaard
parent f18c51657f
commit 5308d111b7
5 changed files with 69 additions and 0 deletions

View File

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

View File

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