mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 13:31:43 -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>
(cherry picked from commit 55a7ece9e5)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
4c87c3a547
commit
d928b8ff37
@@ -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