package/gpsd: add skytraq option
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 25 May 2019 14:17:26 +0000 (16:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 26 May 2019 12:50:08 +0000 (14:50 +0200)
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@gmail.com>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gpsd/Config.in
package/gpsd/gpsd.mk

index e951c0154ea349870603c5e0916e5e58d282093e..c1bebc30d7f22c7eec826a748bf3ca044f4b5eab 100644 (file)
@@ -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
index 0a17ddc93ef2e549ba64e7ccc2ca52a0e1c6caa8..6fe3d7388b06a531c87b5044cda1db231b3bbd64 100644 (file)
@@ -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