Signed-off-by: Roland Hieber <[email protected]>
---
rules/chrony.in | 8 ++++++++
rules/chrony.make | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/rules/chrony.in b/rules/chrony.in
index f50b864429b0..67a87277fc84 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -8,6 +8,7 @@ menuconfig CHRONY
select LIBCAP
select LIBSECCOMP if CHRONY_SECCOMP
select NETTLE if CHRONY_USE_NETTLE
+ select PPS_TOOLS if CHRONY_PPS_REFCLK
help
This will install the Chrony NTPD Daemon (chronyd)
Chrony is a pair of programs which are used to maintain
@@ -44,6 +45,13 @@ config CHRONY_ADVANCED_COMMAND
This allows getting advanced NTP time synchronization
status monitoring from the service.
+config CHRONY_PPS_REFCLK
+ bool
+ prompt "Enable support for PPS devices"
+ help
+ Pulse per second devices signal the start of every second
+ with high precision.
+
comment "install options ---"
config CHRONY_INSTALL_CHRONY_COMMAND
diff --git a/rules/chrony.make b/rules/chrony.make
index 7cf59f30560c..5edddf5b41a0 100644
--- a/rules/chrony.make
+++ b/rules/chrony.make
@@ -52,7 +52,7 @@ CHRONY_CONF_OPT := \
$(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,--enable-debug,) \
--disable-refclock \
--disable-phc \
- --disable-pps \
+ $(call ptx/ifdef, PTXCONF_CHRONY_PPS_REFCLK,--enable-pps,--disable-pps)
\
$(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,,--disable-ipv6) \
--with-user=chrony \
$(call ptx/ifdef, PTXCONF_CHRONY_SECCOMP,--enable-scfilter,) \
--
2.29.2
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]