[meta-intel] [master & jethro][PATCH 2/2] meta-isg: openssl-qat: fix build with zlib-qat
Saul Wold
saul.wold at intel.com
Tue Feb 2 06:19:03 PST 2016
On Wed, 2016-02-03 at 15:41 +0800, Rahul Kumar Gupta wrote:
> 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 may change in future when qat_mem module has been forked into
> a separate package.
>
Why was this not included as part of the original patch that introduces
the openssl-qat?
And maybe a better question is if they both share the qat_mem.ko driver
would it not be better to have that as a separate recipe / package?
Sau!
> Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta at intel.com>
> ---
> meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc | 8 +
> -------
> 1 file changed, 1 insertion(+), 7 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 ae661b7..9303311 100644
> --- a/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc
> +++ b/meta-isg/common/recipes-extended/openssl-qat/openssl-qat.inc
> @@ -22,7 +22,7 @@ SRC_URI = "https://01.org/sites/default/files/page
> /libcrypto_shim_${PV}_withdoc
> "
>
> DEPENDS += " qat16 zlib"
> -RDEPENDS_${PN} += " qat16 zlib"
> +RDEPENDS_${PN} += " qat16 zlib zlib-qat"
>
> inherit pkgconfig module
>
> @@ -71,9 +71,6 @@ do_configure () {
>
> do_compile() {
> oe_runmake
> -
> - cd ${S}/engines/qat_engine/qat_mem
> - oe_runmake
> }
>
> do_install() {
> @@ -85,9 +82,6 @@ do_install() {
>
> cp --dereference -R include/openssl
> ${D}${OPENSSL_PREFIX}/include
>
> - cd ${S}/engines/qat_engine/qat_mem
> - oe_runmake DESTDIR="${D}${bindir}" INSTALL_MOD_PATH=${D}
> INSTALL_MOD_DIR="kernel/drivers" install
> -
> cp ${WORKDIR}/openssl_qat-
> ${PV}/libcrypto_shim_${PV}_withdocumentation/qat/config/dh895xcc/mult
> i_process_optimized/* ${D}${sysconfdir}/openssl_conf/
> }
>
> --
> 1.9.1
>
More information about the meta-intel
mailing list