[oe] [meta-networking][PATCH v2] ntp: add deterministic support for KPPS interface

Rongqing Li rongqing.li at windriver.com
Mon Sep 29 07:50:47 UTC 2014



On 08/29/2014 01:43 AM, Peter A. Bigot wrote:
> ntp checks for presence of sys/timepps.h to determine whether the kernel
> supports the RFC 2783 KPPS interface.  Under Linux the pps-tools package
> installs this header.  Without this feature the ATOM clock driver does
> not work, and other drivers like NMEA have reduced precision.  Remove
> the feature non-determinism and increase ntpd capabilities by adding an
> explicit dependency.
>
> See: http://doc.ntp.org/4.2.6/kernpps.html
>
> Signed-off-by: Peter A. Bigot <pab at pabigot.com>
> ---
> V2: replace PACKAGECONFIG with DEPENDS to remove nondeterminism
>
>   meta-networking/recipes-support/ntp/ntp.inc | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
> index 55926e0..f55a39a 100644
> --- a/meta-networking/recipes-support/ntp/ntp.inc
> +++ b/meta-networking/recipes-support/ntp/ntp.inc
> @@ -8,6 +8,8 @@ SECTION = "console/network"
>   LICENSE = "NTP"
>   LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fea4b50c33b18c2194b4b1c9ca512670"
>
> +DEPENDS = "pps-tools"

Could we add this dependent by PACKAGECONFIG?

-R


> +
>   INC_PR = "r6"
>
>   SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \
>

-- 
Best Reagrds,
Roy | RongQing Li



More information about the Openembedded-devel mailing list