mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ntp: add option to install ntptime
@ 2016-09-01 11:51 Jan Luebbe
  0 siblings, 0 replies; only message in thread
From: Jan Luebbe @ 2016-09-01 11:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Jan Luebbe

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 rules/ntp.in   | 8 ++++++++
 rules/ntp.make | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/rules/ntp.in b/rules/ntp.in
index dc244a1c9857..b8fdca23ebef 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -260,6 +260,14 @@ config NTP_NTPQ
 	  The ntpq utility program is used to monitor NTP daemon ntpd
 	  operations and determine performance.
 
+config NTP_NTPTIME
+	bool
+	prompt "install ntptime"
+	depends on NTP
+	help
+	  The ntptime utility program is used to read the kernel's NTP time
+	  variables.
+
 endif
 
 comment "NTP conflicts with OpenNTPD"
diff --git a/rules/ntp.make b/rules/ntp.make
index 1f7bc3eae69c..3a9677aa1ed7 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -366,6 +366,14 @@ ifdef PTXCONF_NTP_NTPQ
 endif
 
 #	#
+#	# ntptime
+#	#
+ifdef PTXCONF_NTP_NTPTIME
+	@$(call install_copy, ntp, 0, 0, 0755, -, \
+		/usr/sbin/ntptime)
+endif
+
+#	#
 #	# other dirs
 #	#
 	@$(call install_copy, ntp, 0, 0, 0755, /var/log/ntpstats)
-- 
2.1.4


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-01 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 11:51 [ptxdist] [PATCH] ntp: add option to install ntptime Jan Luebbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox