Skip to contentSkip to conversation

gpsd: enable kpps support

PATCH New James Knight 2 participants 2 messages Nov 27, 2015 – Nov 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpsd: enable kpps support

GPSD has the ability to support KPPS. Its enablement is determined primarily from the existence of sys/timepps.h. This file is provided from the pps-tools package. Adjusting GPSD's Makefile to depend on the pps-tools package if a developer has included pps-tools as part of a build.

---
 package/gpsd/gpsd.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/gpsd/gpsd.mk +6 -0
index aa35053..13c7571 100644
@@ -65,6 +65,12 @@ else
 GPSD_SCONS_OPTS += bluez=no
 endif
 
+# If pps-tools is available, build it before so the package can use it
+# (HAVE_SYS_TIMEPPS_H).
+ifeq ($(BR2_PACKAGE_PPS_TOOLS),y)
+GPSD_DEPENDENCIES += pps-tools
+endif
+
 ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
 GPSD_SCONS_OPTS += dbus_export=yes
 GPSD_DEPENDENCIES += dbus-glib
Signature · 1 line
1.9.5.msysgit.1
#1 lore raw

PATCH 1/1 gpsd: enable kpps support

Dear James Knight,

Quoted 10 lines · James Knight

GPSD has the ability to support KPPS. Its enablement is determined primarily from the existence of sys/timepps.h. This file is provided from the pps-tools package. Adjusting GPSD's Makefile to depend on the pps-tools package if a developer has included pps-tools as part of a build.

---
 package/gpsd/gpsd.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com