[meta-virtualization] [PATCH 1/3] libibverbs: provide virtual/libibverbs

Chen Qi Qi.Chen at windriver.com
Mon Dec 25 17:20:48 PST 2017


dpdk-dev-libibverbs recipe provides the same library as what libibverbs
provides. To avoid building these two recipes at the same time at one
single build, we use the technique of 'virtual/libibverbs'.

Make libibverbs provide 'virtual/libibverbs' so that other recipes could
use 'virtual/libibverbs' as their dependencies. In this way, potential
conflicts are avoided.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 recipes-extended/libibverbs/libibverbs_1.1.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.1.7.bb
index 9fc0d6e..b3cd73f 100644
--- a/recipes-extended/libibverbs/libibverbs_1.1.7.bb
+++ b/recipes-extended/libibverbs/libibverbs_1.1.7.bb
@@ -26,4 +26,5 @@ do_install_append() {
         rm -f ${D}${libdir}/libibverbs.la
 }
 
-RCONFLICTS_${PN} = "dpdk-dev-libibverbs"
+PROVIDES = "virtual/libibverbs"
+RPROVIDES_${PN} = "virtual/libibverbs"
-- 
2.11.0



More information about the meta-virtualization mailing list