[Buildroot] [PATCH v2 1/1] ntp: add ntptime option
Peter Korsgaard
peter at korsgaard.com
Mon Oct 19 22:21:15 UTC 2015
>>>>> "James" == James Knight <james.knight at rockwellcollins.com> writes:
> Allow the `ntptime` utility to be included on a target.
> Signed-off-by: James Knight <james.knight at rockwellcollins.com>
> ---
> Changes v1 -> v2:
> - In order to support C libraries other than glibc, a change has been
> made to NTP's autoconf (and the introduction of `NTP_AUTORECONF` to
> the package). The `ntptime` utility requires ntp system calls to
> build. The NTP code already supports falling back to inline calls
> which make use of the `adjtimex` method (supported by uClibc and
> musl; see 'include/sys/timex.h'). This adjustment flags the
> configuration that ntp system calls are supported when `adjtimex`
> or `__adjtimex` are defined (issue brought up by Thomas Petazzoni
> when the initial ntptime support patch failed to build). For more
> information, see:
> https://bugs.ntp.org/show_bug.cgi?id=769
> ---
> +++ b/package/ntp/ntp.mk
> @@ -17,6 +17,7 @@ NTP_CONF_OPTS = \
> --disable-tickadj \
> --with-yielding-select=yes \
> --disable-local-libevent
> +NTP_AUTORECONF = YES
We normally add a comment above the AUTORECONF line explaining why it is
needed - Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list