[Buildroot] [git commit branch/2021.08.x] package/libvirt: add libnl optional dependency

Peter Korsgaard peter at korsgaard.com
Tue Sep 28 20:35:45 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=1cebcd27b86f57b41c0de7f1ff3ab6ddf49ca9a6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x

libnl is an optional dependency (which is enabled by default) since the
addition of the package in commit
ccfc90e1010e42e6529afae3a5ea8bf7226dabc1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 69bcb52766e8a877fa024f963c544b886217aa46)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libvirt/libvirt.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libvirt/libvirt.mk b/package/libvirt/libvirt.mk
index 396dd61577..f30baaab71 100644
--- a/package/libvirt/libvirt.mk
+++ b/package/libvirt/libvirt.mk
@@ -134,6 +134,13 @@ else
 LIBVIRT_CONF_OPTS += -Dlibiscsi=disabled
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNL),y)
+LIBVIRT_CONF_OPTS += -Dlibnl=enabled
+LIBVIRT_DEPENDENCIES += libnl
+else
+LIBVIRT_CONF_OPTS += -Dlibnl=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPCAP),y)
 LIBVIRT_CONF_OPTS += -Dlibpcap=enabled
 LIBVIRT_DEPENDENCIES += libpcap


More information about the buildroot mailing list