[meta-intel] [master][PATCH 2/3] meta-isg: openssl-qat: fix configure and compilation

Rahul Kumar Gupta rahul.kumarxx.gupta at intel.com
Wed Mar 30 11:55:11 PDT 2016


'disable-static' option is there in EXTRA_OECONF variable. No such option
is supported by configure script. So better to pass required option
directly without using variable.
This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta at intel.com>
---
 meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc b/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc
index 8eb8558..8f6be09 100644
--- a/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc
+++ b/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc
@@ -30,7 +30,7 @@ PACKAGES =+ "${PN}-misc"
 PARALLEL_MAKE = ""
 
 AR_append = " r"
-EXTRA_OECONF = " -no-ssl3"
+EXTRA_OEMAKE = "-e MAKEFLAGS="
 
 export ICP_ROOT = "${WORKDIR}/git"
 export ICP_BUILD_OUTPUT = "${STAGING_DIR_TARGET}"
@@ -65,7 +65,7 @@ do_configure () {
 	os=linux
 	target=linux-x86_64
 
-	./Configure ${EXTRA_OECONF} enable-hw-qat --prefix=$OPENSSL_PREFIX --openssldir="${OPENSSL_PREFIX}${base_libdir}/ssl" --libdir="${base_libdir}" $target
+	./Configure -no-ssl3 enable-hw-qat --prefix=$OPENSSL_PREFIX --openssldir="${OPENSSL_PREFIX}${base_libdir}/ssl" --libdir="${base_libdir}" $target
 }
 
 do_compile() {
-- 
1.9.1



More information about the meta-intel mailing list