From: Yongxin Liu <[email protected]>

"qat17" and "qatlib" both provide QAT devices support, but for different
hardware versions. User can use "PREFERRED_PROVIDER_virtual/qat" to
choose which recipe to use.

Signed-off-by: Yongxin Liu <[email protected]>
---
 recipes-extended/qat/qat17_4.24.0-00005.bb | 1 +
 recipes-extended/qatlib/qatlib_24.02.0.bb  | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/recipes-extended/qat/qat17_4.24.0-00005.bb 
b/recipes-extended/qat/qat17_4.24.0-00005.bb
index 112cf1f..bca8b71 100644
--- a/recipes-extended/qat/qat17_4.24.0-00005.bb
+++ b/recipes-extended/qat/qat17_4.24.0-00005.bb
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "\
                     "
 DEPENDS += "boost udev zlib openssl nasm-native"
 PROVIDES += "virtual/qat"
+RPROVIDES:${PN} += "qat"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
diff --git a/recipes-extended/qatlib/qatlib_24.02.0.bb 
b/recipes-extended/qatlib/qatlib_24.02.0.bb
index 47e306d..a2486e6 100644
--- a/recipes-extended/qatlib/qatlib_24.02.0.bb
+++ b/recipes-extended/qatlib/qatlib_24.02.0.bb
@@ -4,6 +4,9 @@ HOMEPAGE = "https://github.com/intel/qatlib";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=64dc5eee9d532c8a1633bb63ed0d1aac"
 
+PROVIDES += "virtual/qat"
+RPROVIDES:${PN} += "qat"
+
 COMPATIBLE_MACHINE = 'null'
 COMPATIBLE_HOST:x86-x32 = 'null'
 COMPATIBLE_HOST:libc-musl:class-target = 'null'
-- 
2.45.0

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

Reply via email to