We have multiple recipes in different layers providing the same libibverbs library, so we need to use virtual/libibverbs to avoid potential errors.
Make dpdk depend on virtual/libibverbs instead of hardcoding dpdk-dev-libibverbs. Signed-off-by: Chen Qi <[email protected]> --- recipes-extended/dpdk/dpdk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index c1d0149..216293c 100644 --- a/recipes-extended/dpdk/dpdk.inc +++ b/recipes-extended/dpdk/dpdk.inc @@ -33,8 +33,8 @@ export CONFIG_EXAMPLE_DPDK_QAT = "${@bb.utils.contains('PACKAGECONFIG', 'dpdk_qa export CONFIG_EXAMPLE_VM_POWER_MANAGER = "${@bb.utils.contains('PACKAGECONFIG', 'libvirt', 'y', 'n', d)}" export CONFIG_VHOST_ENABLED = "${@bb.utils.contains('PACKAGECONFIG', 'vhost', 'y', 'n', d)}" -RDEPENDS_${PN} += "python-subprocess dpdk-dev-libibverbs" -DEPENDS = "virtual/kernel dpdk-dev-libibverbs" +RDEPENDS_${PN} += "python-subprocess virtual/libibverbs" +DEPENDS = "virtual/kernel virtual/libibverbs" do_configure[depends] += "virtual/kernel:do_shared_workdir" inherit module -- 2.11.0 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
