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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Dec 28 08:18:21 PST 2017


merged.

Bruce

On Mon, Dec 25, 2017 at 9:20 PM, Chen Qi <Qi.Chen at windriver.com> wrote:
> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list