Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nathaniel Roach <nroach44@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/libmbim: Now needs libgudev under systemd
Date: Mon, 24 Aug 2015 23:44:16 +0800	[thread overview]
Message-ID: <1440431056-25983-3-git-send-email-nroach44@gmail.com> (raw)
In-Reply-To: <1440431056-25983-1-git-send-email-nroach44@gmail.com>

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>
---
 package/libmbim/Config.in  | 1 +
 package/libmbim/libmbim.mk | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/package/libmbim/Config.in b/package/libmbim/Config.in
index bd34dd4..e79d51f 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 8d49f28..cfba08e 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
 
-- 
2.5.0

  parent reply	other threads:[~2015-08-24 15:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 15:44 [Buildroot] [PATCH 1/3] [v3] libgudev: New package Nathaniel Roach
2015-08-24 15:44 ` [Buildroot] [PATCH 2/3] package/network-manager: Now needs libgudev under systemd Nathaniel Roach
2015-08-25 18:49   ` Thomas Petazzoni
2015-08-24 15:44 ` Nathaniel Roach [this message]
2015-08-25  5:56   ` [Buildroot] [PATCH 3/3] package/libmbim: " Yegor Yefremov
2015-08-25 18:49   ` Thomas Petazzoni
2015-08-25  5:56 ` [Buildroot] [PATCH 1/3] [v3] libgudev: New package Yegor Yefremov
2015-08-25 18:48 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1440431056-25983-3-git-send-email-nroach44@gmail.com \
    --to=nroach44@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox