kumquat-buildroot/package/gpsd/0002-Fix-isync-build-when-ublox-not-selected-too.patch
Zoltan Gyarmati 0b4bbf6e08 package/gpsd: add config option for Spectratime iSync and build fix patch
As in the inital 3.17 version bump patch the iSync config option was not
added, the iSync driver was implicitly enabled in the gpsd config as default,
and due to a bug in the gpsd build setup, this caused several autobuild issues
which are fixed by this. This commit adds both the Buildroot config option and
the gpsd patch which was also sent to and accepted in upstream.

Fixes:
    http://autobuild.buildroot.net/results/555b4bdd1707aa21e6d3014e30b635c96c5efffc
    http://autobuild.buildroot.net/results/cfc14a2c471c63ecc4c95c12b8e00ed7656acfd2
    http://autobuild.buildroot.net/results/2104e15526bd6f467f0d56dee10b5fa46e2c71dd
    http://autobuild.buildroot.net/results/610b3f898b396c1def682b809482408c2c4555bc
    ... and many more.

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-02-04 23:45:40 +01:00

37 lines
975 B
Diff

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