summaryrefslogtreecommitdiffstats
path: root/recipes-navigation/gpsd/gpsd_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-navigation/gpsd/gpsd_%.bbappend')
-rw-r--r--recipes-navigation/gpsd/gpsd_%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd_%.bbappend b/recipes-navigation/gpsd/gpsd_%.bbappend
new file mode 100644
index 0000000..80e91f0
--- /dev/null
+++ b/recipes-navigation/gpsd/gpsd_%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://sw-device-hook"
+
+do_install_append() {
+ # Install device-hook script for starting NMEA output on Sierra Wireless modems
+ install -d ${D}${sysconfdir}/gpsd
+ install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook
+}