ti-ocf-crypto-module: add crypto module for hw accel
authorChase Maupin <Chase.Maupin@ti.com>
Tue, 21 Dec 2010 19:21:57 +0000 (13:21 -0600)
committerKoen Kooi <koen@openembedded.org>
Thu, 6 Jan 2011 15:42:29 +0000 (16:42 +0100)
* Added the module for the OCF subsystem that allows access to
  the crypto accelerator hardware on the am37x device.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/ti-ocf-crypto-module_1.0.bb [new file with mode: 0644]

diff --git a/recipes/ti/ti-ocf-crypto-module_1.0.bb b/recipes/ti/ti-ocf-crypto-module_1.0.bb
new file mode 100644 (file)
index 0000000..3f8f248
--- /dev/null
@@ -0,0 +1,25 @@
+DESCRIPTION = "Builds Crypto module used by OCF-Linux driver in OpenSSL example applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/arm_crypto/"
+LICENSE = "BSD GPLv2"
+
+COMPATIBLE_MACHINE = "omap3"
+
+SRC_URI = "svn://gforge.ti.com/svn/arm_crypto/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+#gforge source revision
+SRCREV = "11"
+
+PACKAGE_STRIP = "no"
+
+S = "${WORKDIR}/trunk"
+
+inherit module
+
+PR = "${MACHINE_KERNEL_PR}+svnr${SRCPV}"
+
+do_install () {
+        install -d ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/
+        install -m 0755 ${S}/ocf_omap3_cryptok.ko ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/
+}
+
+FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/crypto/ocf/ocf_omap3_cryptok.ko"