Skip to contentSkip to conversation

gpsd: remove timing configuration option

PATCH New spdawson at gmail.com 2 participants 2 messages Jul 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpsd: remove timing configuration option

From: Simon Dawson <[email protected]>

When gpsd is built with RECONFIGURE_ENABLE disabled, the min_cycle field of the gps_type_t field does not exist, but the code still uses it if TIMING_ENABLE is enabled.

This can be seen in the following test build failure.

http://autobuild.buildroot.org/results/dd01fa0220bfd3a8aabcc85d89d624afeeda757b/build-end.log

This patch removes the configuration option that, ultimately, drives TIMING_ENABLE.

---
 package/gpsd/Config.in |    3 ---
 package/gpsd/gpsd.mk   |    3 ---
 2 files changed, 6 deletions(-)
package/gpsd/Config.in +0 -3
index db6bec2..8643492 100644
@@ -20,9 +20,6 @@ config BR2_PACKAGE_GPSD_DEVICES
 menu "Features"
 	depends on BR2_PACKAGE_GPSD
 
-config BR2_PACKAGE_GPSD_TIMING
-	bool "latency timing support"
-
 config BR2_PACKAGE_GPSD_CLIENT_DEBUG
 	bool "client debugging support"
 
package/gpsd/gpsd.mk +0 -3
index dd15386..3a2697f 100644
@@ -175,9 +175,6 @@ endif
 ifeq ($(BR2_PACKAGE_GPSD_PROFILING),y)
 	GPSD_SCONS_OPTS += profiling=yes
 endif
-ifeq ($(BR2_PACKAGE_GPSD_TIMING),y)
-	GPSD_SCONS_OPTS += timing=yes
-endif
 ifneq ($(BR2_PACKAGE_GPSD_CLIENT_DEBUG),y)
 	GPSD_SCONS_OPTS += clientdebug=no
 endif
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 gpsd: remove timing configuration option

Le Tue, 24 Jul 2012 21:03:59 +0100,
spdawson at gmail.com a ?crit :

Quoted 6 lines

From: Simon Dawson <[email protected]>

When gpsd is built with RECONFIGURE_ENABLE disabled, the min_cycle field of the gps_type_t field does not exist, but the code still uses it if TIMING_ENABLE is enabled.

Quoted 8 lines

This can be seen in the following test build failure.

http://autobuild.buildroot.org/results/dd01fa0220bfd3a8aabcc85d89d624afeeda757b/build-end.log

This patch removes the configuration option that, ultimately, drives TIMING_ENABLE.

Oops, sorry, I had done and applied a similar in the mean time.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com