dpdk-dev-libibverbs is not the only recipe that provides libibverbs.
In meta-cloud-services, we have a recipe called libibverbs. As both
recipes provide the same library, we need to avoid building both at
the same time at one build.

Use 'virtual/libibverbs' to avoid such problem.

Signed-off-by: Chen Qi <qi.c...@windriver.com>
---
 .../dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb       | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb 
b/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
index 9118494..c91a9ef 100644
--- 
a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
+++ 
b/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
@@ -24,4 +24,7 @@ S = "${WORKDIR}/dpdk-dev-libibverbs-libibverbs-${PV}"
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
 DEPENDS = "libnl"
 
+PROVIDES = "virtual/libibverbs"
+RPROVIDES_${PN} = "virtual/libibverbs"
+
 inherit pkgconfig autotools
-- 
2.11.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to