summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/chrony.in7
-rw-r--r--rules/chrony.make3
2 files changed, 9 insertions, 1 deletions
diff --git a/rules/chrony.in b/rules/chrony.in
index 44c12b423..2f906d2ce 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -29,6 +29,13 @@ config CHRONY_USE_NETTLE
Use nettle crypto library for stronger keys than MD5 in
NTP authentication.
+config CHRONY_ADVANCED_COMMAND
+ bool
+ prompt "Enable advanced monitoring command"
+ help
+ This allows getting advanced NTP time synchronization
+ status monitoring from the service.
+
comment "install options ---"
config CHRONY_INSTALL_CHRONY_COMMAND
diff --git a/rules/chrony.make b/rules/chrony.make
index 51141059c..4d6f58f3b 100644
--- a/rules/chrony.make
+++ b/rules/chrony.make
@@ -48,7 +48,8 @@ CHRONY_CONF_OPT := \
$(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--without-nettle) \
--without-nss \
--without-tomcrypt \
- --disable-cmdmon \
+ $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,,--disable-cmdmon) \
+ $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,--enable-debug,) \
--disable-refclock \
--disable-phc \
--disable-pps \