mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: [ptxdist] [PATCH] gpsd: Make C++ wrapper support optional
Date: Thu,  6 May 2021 12:52:08 +0200	[thread overview]
Message-ID: <20210506105208.126291-1-ada@thorsis.com> (raw)

Some applications use that wrapped interface for C++ …

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/gpsd.in   | 6 ++++++
 rules/gpsd.make | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/rules/gpsd.in b/rules/gpsd.in
index a203e48d4..deebe6bbc 100644
--- a/rules/gpsd.in
+++ b/rules/gpsd.in
@@ -68,6 +68,12 @@ config GPSD_USB
 
 comment "Other options    ---"
 
+config GPSD_LIBGPSMM
+	bool
+	prompt "C++ class wrappers"
+	help
+	  Enables libgpsmm, a C++ class wrapper for libgps.
+
 config GPSD_PYTHON
 	bool
 	prompt "python bindings"
diff --git a/rules/gpsd.make b/rules/gpsd.make
index 0bda35d91..4389356d2 100644
--- a/rules/gpsd.make
+++ b/rules/gpsd.make
@@ -81,7 +81,7 @@ GPSD_CONF_OPT	= \
 	implicit_link=yes \
 	isync=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_ISYNC) \
 	itrax=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_ITRAX) \
-	libgpsmm=no \
+	libgpsmm=$(call ptx/yesno, PTXCONF_GPSD_LIBGPSMM) \
 	magic_hat=no \
 	manbuild=no \
 	minimal=yes \

base-commit: e999e3a92a2fb0ec9ae249bd1f043f05d74dea90
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

             reply	other threads:[~2021-05-06 10:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 10:52 Alexander Dahl [this message]
2021-05-27  6:45 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20210506105208.126291-1-ada@thorsis.com \
    --to=ada@thorsis.com \
    --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