[yocto] [meta-dpdk][PATCH 2/3] dpdk-dev-libibverbs: provide virtual/libibverbs
Chen Qi
Qi.Chen at windriver.com
Mon Dec 25 17:19:45 PST 2017
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.Chen at 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
More information about the yocto
mailing list