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 <[email protected]> --- 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 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
