mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gpsd: Make C++ wrapper support optional
@ 2021-05-06 10:52 Alexander Dahl
  2021-05-27  6:45 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2021-05-06 10:52 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 10:52 [ptxdist] [PATCH] gpsd: Make C++ wrapper support optional Alexander Dahl
2021-05-27  6:45 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox