From 55a7ece9e53f2de0cd96294efeb38045bbd41bef Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 29 Aug 2026 00:11:44 +0200 Subject: [PATCH] package/dpdk: make the libvirt dependency explicit 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 Signed-off-by: Peter Korsgaard --- package/dpdk/dpdk.mk | 4 ++++ 1 file changed, 4 insertions(+) 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