gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] scons: force to enable ublox if isync is enabled


From: Zoltan Gyarmati
Subject: [gpsd-dev] [PATCH] scons: force to enable ublox if isync is enabled
Date: Tue, 30 Jan 2018 12:38:33 +0100

The isync support uses the ublox driver, but if the ublox support is
disabled while isync is enabled, the build will fail.

Signed-off-by: Zoltan Gyarmati <address@hidden>
---
 SConstruct | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/SConstruct b/SConstruct
index 1c1a215..849ef97 100644
--- a/SConstruct
+++ b/SConstruct
@@ -334,6 +334,10 @@ for driver in ('ashtech',
         env['nmea0183'] = True
         break
 
+# iSync uses ublox underneath, so we force to enable it
+if env['isync'] and not env['ublox']:
+    env['ublox'] = True
+
 opts.Save('.scons-option-cache', env)
 env.SConsignFile(".sconsign.dblite")
 
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]