diff options
author | James Knight <james.knight@rockwellcollins.com> | 2015-10-14 19:45:33 -0400 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-10-20 00:19:36 +0200 |
commit | 1c6629444dab52649b17a73dbd978c959f7d6b3c (patch) | |
tree | e38818b179cc55a1dcd06966e6e92957189cb2c2 /package/ntp/0002-ntp-syscalls-fallback.patch | |
parent | 84120c10f5ba6c8c4b8d32068616cbdb8a8a8102 (diff) | |
download | buildroot-1c6629444dab52649b17a73dbd978c959f7d6b3c.tar.gz buildroot-1c6629444dab52649b17a73dbd978c959f7d6b3c.zip |
ntp: add ntptime option
Allow the `ntptime` utility to be included on a target.
[Peter: add comment why AUTORECONF is needed]
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ntp/0002-ntp-syscalls-fallback.patch')
-rw-r--r-- | package/ntp/0002-ntp-syscalls-fallback.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/ntp/0002-ntp-syscalls-fallback.patch b/package/ntp/0002-ntp-syscalls-fallback.patch new file mode 100644 index 0000000000..535fc93dfd --- /dev/null +++ b/package/ntp/0002-ntp-syscalls-fallback.patch @@ -0,0 +1,27 @@ +inline ntp syscalls fallback + +Reference: + https://bugs.ntp.org/show_bug.cgi?id=769 + +Signed-off-by: James Knight <james.knight@rockwellcollins.com> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -1523,11 +1523,11 @@ AC_CACHE_CHECK( + [ntp_cv_var_ntp_syscalls], + [ + ntp_cv_var_ntp_syscalls=no +- case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in ++ case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex$ac_cv_func_adjtimex" in + yesyes*) + ntp_cv_var_ntp_syscalls=libc + ;; +- *yes) ++ *yesyes | *yesno | *noyes) + ntp_cv_var_ntp_syscalls=inline + ;; + *) |