meta-crystalforest: Add openssl qat_mem module
cover meta-crystalforest: Add openssl qat_mem module
From: Kishore Bodke <[email protected]>
Hi,
This patch set adds a new recipe for Intel Quick Assist Technology Memory Management Module based on Openssl and inlcude them into custom build Image recipe.
Please pull into meta-intel/master.
Thanks
Kishore.
The following changes since commit 4614417599d35b004e4cf8a4d27530212cc05e20:
sugarbay: update kernel repo srcrevs (2012-10-16 21:14:55 -0500)
are available in the git repository at:
git://git.pokylinux.org/meta-intel-contrib Kishore/openssl-qat_mem
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=Kishore/openssl-qat_mem
Kishore Bodke (2):
meta-intel/common: Add new recipe for libcrypto module.
meta-crystalforest: Add openssl-qat-module to the Image.
common/recipes-connectivity/openssl-qat-module.bb | 63 ++++++++++++++++++++ .../openssl-qat-module/openssl_qat_module.patch | 43 +++++++++++++ .../recipes-qat-image/images/core-image-qat-sdk.bb | 1 + .../recipes-qat-image/images/core-image-qat.bb | 1 + 4 files changed, 108 insertions(+) create mode 100644 common/recipes-connectivity/openssl-qat-module.bb create mode 100644 common/recipes-connectivity/openssl-qat-module/openssl_qat_module.patch
Signature · 1 line
1.7.9.5
PATCH 2/2 meta-crystalforest: Add openssl-qat-module to the Image.
In reply to [email protected]From: Kishore Bodke <[email protected]>
This adds the openssl-qat-module to build with the custom Image.
--- .../recipes-qat-image/images/core-image-qat-sdk.bb | 1 + .../recipes-qat-image/images/core-image-qat.bb | 1 + 2 files changed, 2 insertions(+)
meta-crystalforest/recipes-qat-image/images/core-image-qat-sdk.bb +1 -0
@@ -9,6 +9,7 @@ IMAGE_INSTALL += " \ calgary-corpus \ canterbury-corpus \ silesia-corpus \ + openssl-qat-module \ " LICENSE = "MIT"
meta-crystalforest/recipes-qat-image/images/core-image-qat.bb +1 -0
@@ -9,6 +9,7 @@ IMAGE_INSTALL += " \ calgary-corpus \ canterbury-corpus \ silesia-corpus \ + openssl-qat-module \ " LICENSE = "MIT"
Signature · 1 line
1.7.9.5
PATCH 1/2 meta-intel/common: Add new recipe for libcrypto module.
In reply to [email protected]From: Kishore Bodke <[email protected]>
This adds a new recipe to include the Intel Quick Assist Technology libcrypto Memory Management Module.
--- common/recipes-connectivity/openssl-qat-module.bb | 63 ++++++++++++++++++++ .../openssl-qat-module/openssl_qat_module.patch | 43 +++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 common/recipes-connectivity/openssl-qat-module.bb create mode 100644 common/recipes-connectivity/openssl-qat-module/openssl_qat_module.patch
common/recipes-connectivity/openssl-qat-module.bb new file +63 -0
@@ -0,0 +1,63 @@ +SUMMARY = "libcrypto* (OpenSSL*) QAT_MEM Memory Management Module for Intel Quick Assist Technology" +DESCRIPTION = "This software adds an engine that accelerates some of the libcrypto algorithms via the \ + Intel QuickAssist Technology implemented on Intel Communications Chipset 89xx Series \ + based platforms." + +HOMEPAGE = "http://www.openssl.org/" +SECTION = "libs/network" + +LICENSE = "openssl" + +LIC_FILES_CHKSUM = "file://${WORKDIR}/openssl-${PV}/LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" + +PV = "1.0.1" +PR="r0" + +OPENSSL_QAT_VERSION = "0.4.0-012" + +SRC_URI = " \ + http://www.openssl.org/source/openssl-${PV}.tar.gz;name=openssl \ + http://downloadmirror.intel.com/19368/eng/libcrypto-openssl-${PV}-qat.L.${OPENSSL_QAT_VERSION}.tar.gz;name=libcrypto;striplevel=2 \ + file://openssl_qat_module.patch;striplevel=1 \ + " + +SRC_URI[openssl.md5sum]="134f168bc2a8333f19f81d684841710b" +SRC_URI[openssl.sha256sum]="4d9f0a594a9a89b28e1a04a9504c04104f6508ee27ad1e0efdd17a7a6dbbeeee" + +SRC_URI[libcrypto.md5sum] = "e4e131fa56d3aa1a52b5bdb9f8fe5a69" +SRC_URI[libcrypto.sha256sum] = "19a80ae6e78548934295d312148e4254c18dabd25e2fd72de5796d8ac15b1cfb" + +S = "${WORKDIR}/openssl-${PV}/engines/qat_engine/qat_mem" + +export KERNEL_SOURCE_ROOT = "${STAGING_KERNEL_DIR}" +inherit module + +do_patch() { + + cd ${WORKDIR}/openssl-${PV} + patch -p2 < ${WORKDIR}/libcrypto-openssl-${PV}-qat.L.${OPENSSL_QAT_VERSION}.patch + + cd ${WORKDIR} + patch -p1 <${WORKDIR}/openssl_qat_module.patch + +} + +do_compile() { + + cd ${S} + oe_runmake KERNEL_CC="${KERNEL_CC}" +} + +do_install_append() { + + install -m 0755 -d ${D}${bindir} \ + ${D}${includedir}/engines/qat_engine/qat_mem + + install -m 0755 ${S}/qat_mem_test ${D}${bindir} + install -m 0750 ${S}/*.h ${D}${includedir}/engines/qat_engine/qat_mem/ + +} + +FILES_${PN} += "\ + ${bindir}/qat_mem_test \ + "
common/recipes-connectivity/openssl-qat-module/openssl_qat_module.patch new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
1.7.9.5