Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option
@ 2019-05-25 14:17 Fabrice Fontaine
  2019-05-25 14:23 ` Benoît Thébaudeau
  2019-05-26 12:50 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-05-25 14:17 UTC (permalink / raw)
  To: buildroot

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>
---
 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..b32e778068 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 d2c7612526..29ffbd5cf2 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
-- 
2.20.1

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

* [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option
  2019-05-25 14:17 [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option Fabrice Fontaine
@ 2019-05-25 14:23 ` Benoît Thébaudeau
  2019-05-26 12:50 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Benoît Thébaudeau @ 2019-05-25 14:23 UTC (permalink / raw)
  To: buildroot

Dear Fabrice,

On Sat, May 25, 2019 at 4:17 PM Fabrice Fontaine
<fontaine.fabrice@gmail.com> wrote:
>
> 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>
> ---
>  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..b32e778068 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 d2c7612526..29ffbd5cf2 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
> --
> 2.20.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Just nitpicking: Skytraq could have a capital S in the bool config
name. Other than that:
Reviewed-by: Beno?t Th?baudeau <benoit.thebaudeau.dev@gmail.com>

Best regards,
Beno?t

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

* [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option
  2019-05-25 14:17 [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option Fabrice Fontaine
  2019-05-25 14:23 ` Benoît Thébaudeau
@ 2019-05-26 12:50 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-05-26 12:50 UTC (permalink / raw)
  To: buildroot

On Sat, 25 May 2019 16:17:26 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> 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>
> ---
>  package/gpsd/Config.in | 5 +++++
>  package/gpsd/gpsd.mk   | 3 +++
>  2 files changed, 8 insertions(+)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-05-26 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-25 14:17 [Buildroot] [PATCH/next 1/1] package/gpsd: add skytraq option Fabrice Fontaine
2019-05-25 14:23 ` Benoît Thébaudeau
2019-05-26 12:50 ` Thomas Petazzoni

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