From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 16 Jun 2021 12:36:17 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltSu9-0005RT-3G for lore@lore.pengutronix.de; Wed, 16 Jun 2021 12:36:17 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltSu3-0008HS-NA; Wed, 16 Jun 2021 12:36:11 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltStK-0006rt-5G; Wed, 16 Jun 2021 12:35:26 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ltStH-00021C-OU; Wed, 16 Jun 2021 12:35:23 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ltStH-008NpV-LG; Wed, 16 Jun 2021 12:35:23 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 16 Jun 2021 12:35:23 +0200 Message-Id: <20210616103523.1998130-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210604180715.4674-2-rhi@pengutronix.de> References: <20210604180715.4674-2-rhi@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] chrony: enable support for PPS devices X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 2531a1942ed664e297bd2c17bcd25551d63fbd4e. Michael [sent from post-receive hook] On Wed, 16 Jun 2021 12:35:23 +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > Message-Id: <20210604180715.4674-2-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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..15f475d889a6 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,,--disable-pps) \ > $(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,,--disable-ipv6) \ > --with-user=chrony \ > $(call ptx/ifdef, PTXCONF_CHRONY_SECCOMP,--enable-scfilter,) \ _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de