meta-isg: openssl-qat: fix configure and compilation

'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@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Rahul Kumar Gupta 2016-03-31 02:55:11 +08:00 committed by Saul Wold
parent dcfd63ce73
commit a54c2107b3

View File

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