From 5640cd6bc13a520ba4bf73c94fe9b739ac23c7e6 Mon Sep 17 00:00:00 2001 From: Rahul Kumar Gupta Date: Wed, 10 Feb 2016 17:29:05 +0800 Subject: meta-isg: openssl-qat: Add support for v0.4.9-009 This recipe adds the openssl-qat engine that accelerates some of the libcrypto algorithms via the Intel QAT implemented on Intel communication chipsets. QAT sample patch v0.4.9-009 is based on async branch of openssl-1.0.1m. openssl & zlib shim layers both install the qat_mem.ko driver. Make openssl shim dependent on zlib-qat and ensure that only zlib-qat installs this kernel module. This fix change in future when qat_mem module has been forked into a separate package. The recipe is for platforms like grantley and crystalforest using the common BSP intel-corei7-64. Signed-off-by: Rahul Kumar Gupta Signed-off-by: Saul Wold --- ...-environment-variables-to-have-precedence.patch | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 meta-isg/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch (limited to 'meta-isg/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch') diff --git a/meta-isg/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch b/meta-isg/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch new file mode 100644 index 00000000..82c9965d --- /dev/null +++ b/meta-isg/common/recipes-extended/openssl-qat/openssl-qat/openssl_qat-environment-variables-to-have-precedence.patch @@ -0,0 +1,59 @@ +From dde5f7d6603d875b1d871498ae95a6837ccd591d Mon Sep 17 00:00:00 2001 +From: Anuj Mittal +Date: Sat, 20 Jun 2015 00:25:27 +0800 +Subject: [PATCH] openssl_qat: environment variables to have precedence + +Upstream-Status: Inappropriate [configuration] + +(From meta/recipes-connectivity/openssl/openssl/shared-libs.patch + rev: 5dd1d7566964c90d33c0c44f569d9336fb0724ce) + +Signed-off-by: Anuj Mittal +--- + Makefile.org | 2 +- + crypto/Makefile | 2 +- + ssl/Makefile | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile.org b/Makefile.org +index 1f2f5e1..679c884 100644 +--- a/Makefile.org ++++ b/Makefile.org +@@ -311,7 +311,7 @@ libcrypto$(SHLIB_EXT): libcrypto.a fips_premain_dso$(EXE_EXT) + + libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a + @if [ "$(SHLIB_TARGET)" != "" ]; then \ +- $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \ ++ $(MAKE) -e SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \ + else \ + echo "There's no support for shared libraries on this platform" >&2; \ + exit 1; \ +diff --git a/crypto/Makefile b/crypto/Makefile +index 2355661..1b0c324 100644 +--- a/crypto/Makefile ++++ b/crypto/Makefile +@@ -107,7 +107,7 @@ $(LIB): $(LIBOBJ) + + shared: buildinf.h lib subdirs + if [ -n "$(SHARED_LIBS)" ]; then \ +- (cd ..; $(MAKE) $(SHARED_LIB)); \ ++ (cd ..; $(MAKE) -e $(SHARED_LIB)); \ + fi + + libs: +diff --git a/ssl/Makefile b/ssl/Makefile +index e05ada2..6f51862 100644 +--- a/ssl/Makefile ++++ b/ssl/Makefile +@@ -64,7 +64,7 @@ lib: $(LIBOBJ) + + shared: lib + if [ -n "$(SHARED_LIBS)" ]; then \ +- (cd ..; $(MAKE) $(SHARED_LIB)); \ ++ (cd ..; $(MAKE) -e $(SHARED_LIB)); \ + fi + + files: +-- +1.7.9.5 + -- cgit v1.2.3-54-g00ecf