summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-12-29 18:11:11 +0200
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-12-29 18:11:11 +0200
commit2aa50115b56c08abaf8664fc5b8ba444f775c874 (patch)
tree7b50584359eec81ebc395c26cb91df69d62368d1
parenta9d3d75f87a8c25e7cca7a6bc23784fae4c96bc9 (diff)
downloadmeta-mlinux-2aa50115b56c08abaf8664fc5b8ba444f775c874.tar.gz
meta-mlinux-2aa50115b56c08abaf8664fc5b8ba444f775c874.tar.bz2
meta-mlinux-2aa50115b56c08abaf8664fc5b8ba444f775c874.zip
gps: expose a set of private dev headers
-rw-r--r--recipes-navigation/gpsd/gpsd_3.23.1.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.23.1.bb b/recipes-navigation/gpsd/gpsd_3.23.1.bb
index 2d7ad0e..4663856 100644
--- a/recipes-navigation/gpsd/gpsd_3.23.1.bb
+++ b/recipes-navigation/gpsd/gpsd_3.23.1.bb
@@ -138,6 +138,16 @@ do_install_append() {
# Support for python
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/gps
install -m 755 ${D}${libdir}/gps/*.py ${D}${PYTHON_SITEPACKAGES_DIR}/gps
+
+ # support for dev (development)
+ mkdir -p -m 0644 ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/gpsd.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/compiler.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/os_compat.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/ppsthread.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/timespec.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/gpsdclient.h ${D}/${includedir}/gps
+ install -m 0644 ${S}/buildtmp/include/gpsd_config.h ${D}/${includedir}/gps
}