summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-09-05 13:07:32 -0500
committerJohn Klug <john.klug@multitech.com>2018-09-05 13:07:32 -0500
commit7d2f67eece5d16838eddb150f5f38786f957a575 (patch)
tree7949fc8b15526ee46efe21c1ef3954f2e537081e
parent354178049a6663166d9a1b7927a38e627d19d0ff (diff)
downloadmeta-mlinux-7d2f67eece5d16838eddb150f5f38786f957a575.tar.gz
meta-mlinux-7d2f67eece5d16838eddb150f5f38786f957a575.tar.bz2
meta-mlinux-7d2f67eece5d16838eddb150f5f38786f957a575.zip
Undocumented GPSD header files are in /usr/include/gps/ (-I /usr/include/gps)
-rw-r--r--recipes-navigation/gpsd/gpsd_3.16.bb12
1 files changed, 9 insertions, 3 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.16.bb b/recipes-navigation/gpsd/gpsd_3.16.bb
index 1d01291..56fd8e4 100644
--- a/recipes-navigation/gpsd/gpsd_3.16.bb
+++ b/recipes-navigation/gpsd/gpsd_3.16.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
DEPENDS = "dbus dbus-glib ncurses python libusb1 chrpath-replacement-native pps-tools"
PROVIDES = "virtual/gpsd"
-PR="m8"
+PR="m9"
EXTRANATIVEPATH += "chrpath-native"
@@ -114,7 +114,13 @@ do_install_append() {
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
# support for dev (development)
- install -m 0644 ${S}/gpsd.h ${D}/${includedir}
+ mkdir -p -m 0644 ${D}/${includedir}/gps
+ install -m 0644 ${S}/gpsd.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/revision.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/gpsdclient.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/gpsd_config.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/compiler.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/ppsthread.h ${D}/${includedir}/gps
}
RDEPENDS_${PN}-conf += "bash"
@@ -131,7 +137,7 @@ PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gp
# File does not exist: ${libdir}/libQgpsmm.prl
FILES_${PN}-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc \
- ${includedir}/gps.h ${includedir}/gpsd.h ${includedir}/libgpsmm.h"
+ ${includedir}/gps.h ${includedir}/libgpsmm.h ${includedir}/gps"
FILES_${PN} += "${sbindir}/gpsd_ubx_fixed ${sbindir}/gpsd_ubx_settime"