mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Gavin Schenk <g.schenk@eckelmann.de>
To: ptxdist@pengutronix.de
Cc: Gavin Schenk <g.schenk@eckelmann.de>
Subject: [ptxdist] [PATCH 1/2] glib: Add switch to enable feature libmount in glib
Date: Tue, 22 Jan 2019 07:40:58 +0100	[thread overview]
Message-ID: <20190122064059.21966-2-g.schenk@eckelmann.de> (raw)
In-Reply-To: <20190122064059.21966-1-g.schenk@eckelmann.de>

Introduce a new switch GLIB_LIBMOUNT, that optionally enables feature libmount in glib

Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
---
 rules/glib.in   | 8 ++++++++
 rules/glib.make | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/rules/glib.in b/rules/glib.in
index ddc4625cd..fca978ddd 100644
--- a/rules/glib.in
+++ b/rules/glib.in
@@ -14,6 +14,8 @@ menuconfig GLIB
 	select HOST_GTK_DOC
 	select ICONV
 	select ZLIB
+	select UTIL_LINUX_NG if GLIB_LIBMOUNT
+	select UTIL_LINUX_NG_LIBMOUNT if GLIB_LIBMOUNT
 	help
 	  GLib is a library containing many useful C routines for things
 	  such as trees, hashes, lists, and strings. It is a useful
@@ -29,4 +31,10 @@ config GLIB_GDBUS
 	  gdbus is a command line dbus tool, based on the glib internal gdbus
 	  implementation.
 
+config GLIB_LIBMOUNT
+	bool
+	prompt "enable libmount
+	help
+	  Enable libmount in glib
+
 endif
diff --git a/rules/glib.make b/rules/glib.make
index 1bbb19b6e..600b9ff53 100644
--- a/rules/glib.make
+++ b/rules/glib.make
@@ -70,7 +70,7 @@ GLIB_CONF_OPT	:= \
 	--disable-fam \
 	--disable-xattr \
 	--disable-libelf \
-	--disable-libmount \
+	--$(call ptx/endis, PTXCONF_GLIB_LIBMOUNT)-libmount \
 	--disable-gtk-doc \
 	--disable-gtk-doc-html \
 	--disable-gtk-doc-pdf \
-- 
2.20.1


-- 
Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2019-01-22  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22  6:40 [ptxdist] [PATCH 0/2] Conditional switch for " Gavin Schenk
2019-01-22  6:40 ` Gavin Schenk [this message]
2019-01-22  6:40 ` [ptxdist] [PATCH 2/2] rauc: Add dependency to GLIB_LIBMOUNT Gavin Schenk

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=20190122064059.21966-2-g.schenk@eckelmann.de \
    --to=g.schenk@eckelmann.de \
    --cc=ptxdist@pengutronix.de \
    /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