Since qat header files have been moved to /opt/intel/QAT,
change zlib-qat recipe accordingly.

Signed-off-by: Yongxin Liu <[email protected]>
---
 recipes-extended/zlib-qat/zlib-qat.inc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/recipes-extended/zlib-qat/zlib-qat.inc 
b/recipes-extended/zlib-qat/zlib-qat.inc
index 81e1d34..9f2dfb4 100644
--- a/recipes-extended/zlib-qat/zlib-qat.inc
+++ b/recipes-extended/zlib-qat/zlib-qat.inc
@@ -28,14 +28,13 @@ ZLIB_VERSION = "1.2.8"
 
 S = "${WORKDIR}/zlib-${ZLIB_VERSION}"
 
-export ICP_ROOT = "${S}"
+export ICP_ROOT = "${STAGING_DIR_TARGET}/opt/intel/QAT"
 export ZLIB_ROOT = "${S}"
 export KERNEL_SOURCE_ROOT = "${STAGING_KERNEL_DIR}"
 export KERNEL_BUILDDIR = "${STAGING_KERNEL_BUILDDIR}"
-export ICP_LAC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/lac"
-export ICP_DC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/dc"
 export ICP_BUILD_OUTPUT = "${STAGING_DIR_TARGET}"
 
+CFLAGS += " -I${ICP_ROOT}/quickassist/utilities/libusdm_drv"
 EXTRA_OEMAKE = "-e MAKEFLAGS="
 TARGET_CC_ARCH += "${LDFLAGS}"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7558): 
https://lists.yoctoproject.org/g/meta-intel/message/7558
Mute This Topic: https://lists.yoctoproject.org/mt/91720719/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to