[oe] [meta-oe][PATCH 4/5] gpsd: add optional support for KPPS interface
Martin Jansa
martin.jansa at gmail.com
Thu Aug 28 14:29:50 UTC 2014
On Thu, Aug 28, 2014 at 07:06:20AM -0500, Peter A. Bigot wrote:
> gpsd by default builds with PPS (pulse-per-second) support, but without
> kernel support to capture the edge of the pulse the accuracy is only
> +/-5us. Under Linux the pps-tools package installs the header required
> for the user-level API to the RFC 2783 KPPS interface. If gpsd detects
> this header, it will use the API to improve accuracy to +/-1us.
>
> See: http://www.catb.org/gpsd/gpsd-time-service-howto.html#_enabling_pps
>
> Signed-off-by: Peter A. Bigot <pab at pabigot.com>
> ---
> meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb
> index d12c7a8..1c2d9eb 100644
> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb
> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb
> @@ -20,6 +20,9 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
> SRC_URI[md5sum] = "fc5b03aae38b9b5b6880b31924d0ace3"
> SRC_URI[sha256sum] = "706fc2c1cf3dfbf87c941f543381bccc9c4dc9f8240eec407dcbf2f70b854320"
>
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[kpps] = ",,pps-tools"
Both recipes need some way of explicit disable of pps-tools, so that the
result is the same when building gpsd or ntp before or after pps-tools.
> inherit scons update-rc.d python-dir pythonnative systemd
>
> INITSCRIPT_NAME = "gpsd"
> --
> 1.8.5.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140828/4072f76d/attachment-0002.sig>
More information about the Openembedded-devel
mailing list