mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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 <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
db3d0d44ac
commit
55a7ece9e5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user