[Buildroot] [git commit] package/gpsd: add skytraq option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun May 26 12:50:08 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=6f7a15cbe59ff21691769fd667425ff08a518d74
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

skytraq support has been added in version 3.17 with
https://git.savannah.gnu.org/cgit/gpsd.git/commit/SConstruct?id=1456c9f50e718a394f2b633cf0773f3fd792cdaa

Allow the user to enable/disable it through an option and disable it
by default.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/gpsd/Config.in | 5 +++++
 package/gpsd/gpsd.mk   | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index e951c0154e..c1bebc30d7 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -222,6 +222,11 @@ config BR2_PACKAGE_GPSD_SIRF
 	help
 	  SiRF binary support
 
+config BR2_PACKAGE_GPSD_SKYTRAQ
+	bool "Skytraq"
+	help
+	  Skytraq support
+
 config BR2_PACKAGE_GPSD_SUPERSTAR2
 	bool "SuperStarII"
 	help
diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index 0a17ddc93e..6fe3d7388b 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -144,6 +144,9 @@ endif
 ifneq ($(BR2_PACKAGE_GPSD_SIRF),y)
 GPSD_SCONS_OPTS += sirf=no
 endif
+ifneq ($(BR2_PACKAGE_GPSD_SKYTRAQ),y)
+GPSD_SCONS_OPTS += skytraq=no
+endif
 ifneq ($(BR2_PACKAGE_GPSD_SUPERSTAR2),y)
 GPSD_SCONS_OPTS += superstar2=no
 endif



More information about the buildroot mailing list