gpsd: upgrade to 3.18

Removing previously upstreamed build fix patch and add config
option for the newly introduced Greis driver

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Zoltan Gyarmati 2018-10-07 21:29:45 +02:00 committed by Thomas Petazzoni
parent 96143601de
commit a098aa2dbe
4 changed files with 10 additions and 38 deletions

View File

@ -1,36 +0,0 @@
From 98c8f5f4429ac3bfc09eee235fee08b9aaff8c52 Mon Sep 17 00:00:00 2001
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Date: Tue, 30 Jan 2018 19:58:54 -0800
Subject: [PATCH] Fix isync build when ublox not selected too.
The isync support uses the ublox driver, but if the ublox support is
disabled while isync is enabled, the build will fail.
Upstream commit:
http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=98c8f5f4429ac3bfc09eee235fee08b9aaff8c52
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
SConstruct | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/SConstruct b/SConstruct
index 1c1a215..c6a309e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -334,6 +334,11 @@ for driver in ('ashtech',
env['nmea0183'] = True
break
+
+# iSync uses ublox underneath, so we force to enable it
+if env['isync']:
+ env['ublox'] = True
+
opts.Save('.scons-option-cache', env)
env.SConsignFile(".sconsign.dblite")
--
2.7.4

View File

@ -154,6 +154,11 @@ config BR2_PACKAGE_GPSD_GPSCLOCK
help
GPSClock support
config BR2_PACKAGE_GPSD_GREIS
bool "Greis"
help
Greis support
config BR2_PACKAGE_GPSD_ISYNC
bool "iSync"
help

View File

@ -1,3 +1,3 @@
# Locally calculated
sha256 68e0dbecfb5831997f8b3d6ba48aed812eb465d8c0089420ab68f9ce4d85e77a gpsd-3.17.tar.gz
sha256 48521f5158f5fda4c88a6f75e8bfc1ee67e999e3fc095e4a06cb8c2af56712f4 gpsd-3.18.tar.gz
sha256 71ff85d18bf063954cfc4251678d0e772223e21f80febbd99d5524c90f73f832 COPYING

View File

@ -4,7 +4,7 @@
#
################################################################################
GPSD_VERSION = 3.17
GPSD_VERSION = 3.18
GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd
GPSD_LICENSE = BSD-3-Clause
GPSD_LICENSE_FILES = COPYING
@ -111,6 +111,9 @@ endif
ifneq ($(BR2_PACKAGE_GPSD_GPSCLOCK),y)
GPSD_SCONS_OPTS += gpsclock=no
endif
ifneq ($(BR2_PACKAGE_GPSD_GREIS),y)
GPSD_SCONS_OPTS += greis=no
endif
ifneq ($(BR2_PACKAGE_GPSD_ISYNC),y)
GPSD_SCONS_OPTS += isync=no
endif