On Wed, 2024-09-04 at 10:12 +0800, yongxin....@windriver.com wrote: > From: Yongxin Liu <yongxin....@windriver.com> > > "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. > > Remove qat17-app package so that user can use IMAGE_INSTALL += "qat" > to install all necessary files to the final image.
These are two separate changes. Can you please split in two and send? Thanks, Anuj > > Signed-off-by: Yongxin Liu <yongxin....@windriver.com> > --- > recipes-extended/qat/qat17_4.24.0-00005.bb | 9 ++------- > recipes-extended/qatlib/qatlib_24.02.0.bb | 3 +++ > 2 files changed, 5 insertions(+), 7 deletions(-) > > diff --git a/recipes-extended/qat/qat17_4.24.0-00005.bb b/recipes- > extended/qat/qat17_4.24.0-00005.bb > index 112cf1f..e453825 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}" > > @@ -170,13 +171,12 @@ do_install() { > > SYSROOT_DIRS += "/opt" > > -PACKAGES += "${PN}-app" > - > FILES:${PN}-dev = "${QAT_HEADER_FILES}/ \ > ${nonarch_base_libdir}/*.a \ > " > > FILES:${PN} += "\ > + ${bindir}/* \ > ${libdir}/ \ > ${nonarch_base_libdir}/firmware \ > ${sysconfdir}/ \ > @@ -187,11 +187,6 @@ FILES:${PN} += "\ > > FILES:${PN}-dbg += "${sysconfdir}/init.d/.debug/ \ > " > - > -FILES:${PN}-app += "${bindir}/* \ > - ${prefix}/qat \ > - " > - > # yasm encodes path to the input file and doesn't provide any option > to workaround it. > INSANE_SKIP:${PN}-staticdev += "buildpaths" > INSANE_SKIP:${PN}-dbg += "buildpaths" > 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'
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8401): https://lists.yoctoproject.org/g/meta-intel/message/8401 Mute This Topic: https://lists.yoctoproject.org/mt/108258110/21656 Group Owner: meta-intel+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-