aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nathaniel Roach <nroach44@gmail.com>2015-08-24 23:44:16 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-25 16:41:43 +0200
commitad4be753c15b7df9cd5e93f9edc3d58b8280baa1 (patch)
tree1a0a48659ea70273befc1d9c299004100f82e003
parent1a2c56150f9d1520f5e06eb6feada891963e7591 (diff)
downloadbuildroot-ad4be753c15b7df9cd5e93f9edc3d58b8280baa1.tar.gz
buildroot-ad4be753c15b7df9cd5e93f9edc3d58b8280baa1.tar.bz2
package/libmbim: Now needs libgudev under systemd
libmbim uses code (originally from udev) that has since been split from the main systemd codebase into libgudev. Fixes: http://autobuild.buildroot.org/results/638/638dbf05b785a276a33983b0237b7cad54777b85/ Tweak the package files for libmbim to require libgudev when building with systemd. Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Tested-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libmbim/Config.in1
-rw-r--r--package/libmbim/libmbim.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/libmbim/Config.in b/package/libmbim/Config.in
index bd34dd4ba1..e79d51f3a9 100644
--- a/package/libmbim/Config.in
+++ b/package/libmbim/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBMBIM
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_PACKAGE_HAS_UDEV
+ select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
select BR2_PACKAGE_LIBGLIB2
help
libmbim is a glib-based library for talking to WWAN modems and
diff --git a/package/libmbim/libmbim.mk b/package/libmbim/libmbim.mk
index 8d49f281c6..cfba08e7e3 100644
--- a/package/libmbim/libmbim.mk
+++ b/package/libmbim/libmbim.mk
@@ -13,6 +13,10 @@ LIBMBIM_INSTALL_STAGING = YES
LIBMBIM_DEPENDENCIES = libglib2 udev
+ifeq ($(BR2_INIT_SYSTEMD),y)
+LIBMBIM_DEPENDENCIES += libgudev
+endif
+
# we don't want -Werror
LIBMBIM_CONF_OPTS = --enable-more-warnings=no