summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd/gpsd_3.16.bb
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-01-12 16:31:34 -0600
committerJohn Klug <john.klug@multitech.com>2017-01-12 16:31:34 -0600
commit94ec4baeb66a9bf1bfb2d86b532403514f2175c6 (patch)
tree43833773a35a3b354c02929ca45fc728b992501d /recipes-navigation/gpsd/gpsd_3.16.bb
parente0dc5fbcf8465f710f9f2f64009d9f488b8a17bb (diff)
downloadmeta-mlinux-94ec4baeb66a9bf1bfb2d86b532403514f2175c6.tar.gz
meta-mlinux-94ec4baeb66a9bf1bfb2d86b532403514f2175c6.tar.bz2
meta-mlinux-94ec4baeb66a9bf1bfb2d86b532403514f2175c6.zip
Add script to set the system clock directly from the GPS.
Diffstat (limited to 'recipes-navigation/gpsd/gpsd_3.16.bb')
-rw-r--r--recipes-navigation/gpsd/gpsd_3.16.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.16.bb b/recipes-navigation/gpsd/gpsd_3.16.bb
index f2a5c05..e5b3207 100644
--- a/recipes-navigation/gpsd/gpsd_3.16.bb
+++ b/recipes-navigation/gpsd/gpsd_3.16.bb
@@ -17,6 +17,7 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
file://gpsd-default \
file://gpsd \
file://gpsd_ubx_fixed.sh \
+ file://gpsd_ubx_settime.sh \
file://60-gpsd.rules \
file://gpsd.service \
"
@@ -91,6 +92,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/gpsd_ubx_fixed.sh ${D}${sbindir}/gpsd_ubx_fixed
+ install -m 0755 ${WORKDIR}/gpsd_ubx_settime.sh ${D}${sbindir}/gpsd_ubx_settime
# UDEV code assumed a USB GPS.
@@ -133,7 +135,7 @@ SUMMARY_libgps = "C service library used for communicating with gpsd"
FILES_libgps = "${libdir}/libgps.so.*"
SUMMARY_gpsd-conf = "gpsd configuration files and init scripts"
-FILES_gpsd-conf = "${sysconfdir} ${sbindir}/gpsd_ubx_fixed"
+FILES_gpsd-conf = "${sysconfdir} ${sbindir}/gpsd_ubx_fixed ${sbindir}/gpsd_ubx_settime"
CONFFILES_gpsd-conf = "${sysconfdir}/default/gpsd.default"
SUMMARY_gpsd-gpsctl = "Tool for tweaking GPS modes"