aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nathaniel Roach <nroach44@gmail.com>2015-08-24 23:44:15 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-25 16:37:08 +0200
commit1a2c56150f9d1520f5e06eb6feada891963e7591 (patch)
treebbe40ac7c3da89439d2ba8548cd1f47ead8da04b
parentb935d49a91a31d42a88eba5997796f131256e371 (diff)
downloadbuildroot-1a2c56150f9d1520f5e06eb6feada891963e7591.tar.gz
buildroot-1a2c56150f9d1520f5e06eb6feada891963e7591.tar.bz2
package/network-manager: now needs libgudev when systemd is used
NetworkManager uses code (originally from udev) that has since been split from the main systemd codebase into libgudev. Tweak the package files for NetworkManager to require libgudev when building with systemd. Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/network-manager/Config.in1
-rw-r--r--package/network-manager/network-manager.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index bcf8f90685..5a0e636c95 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -11,6 +11,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
select BR2_PACKAGE_GNUTLS
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBNL
+ select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_WIRELESS_TOOLS
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
index 25ad2a29cc..03c7d63dd7 100644
--- a/package/network-manager/network-manager.mk
+++ b/package/network-manager/network-manager.mk
@@ -63,6 +63,10 @@ ifeq ($(BR2_PACKAGE_DHCPCD),y)
NETWORK_MANAGER_CONF_OPTS += --with-dhcpcd=/sbin/dhcpcd
endif
+ifeq ($(BR2_INIT_SYSTEMD),y)
+NETWORK_MANAGER_DEPENDENCIES += libgudev
+endif
+
# uClibc by default doesn't have backtrace support, so don't use it
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
NETWORK_MANAGER_CONF_OPTS += --disable-crashtrace