From: Chee Yang Lee <[email protected]>

add build dependencies
allow build static library, static library required to compile qzip and
test.

| make[1]: *** No rule to make target
'/data/poky/build/tmp/work/corei7-64-poky-linux/qatzip/1.0.9+gitAUTOINC+a30e179b2d-r0/git/src/.libs/libqatzip.a',
needed by 'qzip'.  Stop.

Signed-off-by: Chee Yang Lee <[email protected]>
---
 .../qatzip/files/remove-rpath.patch           | 22 +++++++++----------
 recipes-extended/qatzip/qatzip_git.bb         |  9 +++++---
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/recipes-extended/qatzip/files/remove-rpath.patch 
b/recipes-extended/qatzip/files/remove-rpath.patch
index c6d816f..2658c23 100644
--- a/recipes-extended/qatzip/files/remove-rpath.patch
+++ b/recipes-extended/qatzip/files/remove-rpath.patch
@@ -14,18 +14,16 @@ Signed-off-by: Yongxin Liu <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index e8f3922..2b2ecdb 100644
+index b000c03..be24ecf 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -130,7 +130,7 @@ AS_IF([test ! -e ${ICP_ROOT}/quickassist/include/cpa.h ||
-                              -I${ICP_ROOT}/quickassist/include/dc/ \
-                              -I${ICP_ROOT}/quickassist/utilities/libusdm_drv/ 
\
-                              
-I${ICP_ROOT}/quickassist/lookaside/access_layer/include/ "
--        ICP_LDFLAGS=" -Wl,-rpath,${ICP_ROOT}/build/ -L${ICP_ROOT}/build/"
-+        ICP_LDFLAGS=" -L${ICP_ROOT}/build/"
-         QAT_HEADER=1
-     ]
- )
+@@ -143,7 +143,7 @@ AS_IF([test ! -z "${ICP_ROOT}"],
+                                 -I${ICP_ROOT}/quickassist/include/dc/ \
+                                 
-I${ICP_ROOT}/quickassist/utilities/libusdm_drv/ \
+                                 
-I${ICP_ROOT}/quickassist/lookaside/access_layer/include/ "
+-            LDFLAGS+=" -Wl,-rpath,${ICP_ROOT}/build/ -L${ICP_ROOT}/build/ "
++            LDFLAGS+=" -L${ICP_ROOT}/build/ "
+         ]
+     )
+     AC_SUBST(ICP_INCLUDE_CFLAGS)
 -- 
-2.34.1
-
diff --git a/recipes-extended/qatzip/qatzip_git.bb 
b/recipes-extended/qatzip/qatzip_git.bb
index e943c82..c7aec76 100644
--- a/recipes-extended/qatzip/qatzip_git.bb
+++ b/recipes-extended/qatzip/qatzip_git.bb
@@ -12,15 +12,18 @@ SRC_URI = 
"git://github.com/intel/QATzip;protocol=https;branch=master \
            file://remove-rpath.patch \
 "
 
-SRCREV = "ba2eae63a4d1a165c9d303737b9e14f1ea7f3ce7"
+SRCREV = "a30e179b2d495924f0a52b8cf113fa00ffe5df34"
 
-DEPENDS += "qat17"
+DEPENDS += "qat17 util-linux-native lz4 "
 
-PV = "1.0.8+git${SRCPV}"
+PV = "1.0.9+git${SRCPV}"
 
 export ICP_ROOT = "${STAGING_DIR_TARGET}/opt/intel/QAT"
 export QZ_ROOT = "${S}"
 
+# static library required to compile qzip and test
+DISABLE_STATIC = ""
+
 COMPATIBLE_MACHINE = "null"
 
 inherit autotools-brokensep
-- 
2.37.3

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

Reply via email to