| Message ID | 20260828221147.2883191-2-thomas.petazzoni@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/2] package/dpdk: fix example build issue when libvirt is present | expand |
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes: > examples/vm_power_manager/meson.build in DPDK detects the presence of > libvirt: > opt_dep = cc.find_library('virt', required : false) > and then builds some examples or not depending on the availability of > libvirt. Let's make this optional dependency explicit in dpdk.mk, even > if there's no explicit enable/disable option for it. > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Committed, thanks.
diff --git a/package/dpdk/dpdk.mk b/package/dpdk/dpdk.mk index 147bdb23d3..968a5a877d 100644 --- a/package/dpdk/dpdk.mk +++ b/package/dpdk/dpdk.mk @@ -112,6 +112,10 @@ ifeq ($(BR2_PACKAGE_LIBBPF),y) DPDK_DEPENDENCIES += libbpf endif +ifeq ($(BR2_PACKAGE_LIBVIRT),y) +DPDK_DEPENDENCIES += libvirt +endif + ifeq ($(BR2_PACKAGE_RDMA_CORE),y) DPDK_DEPENDENCIES += rdma-core endif
examples/vm_power_manager/meson.build in DPDK detects the presence of libvirt: opt_dep = cc.find_library('virt', required : false) and then builds some examples or not depending on the availability of libvirt. Let's make this optional dependency explicit in dpdk.mk, even if there's no explicit enable/disable option for it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- package/dpdk/dpdk.mk | 4 ++++ 1 file changed, 4 insertions(+)