summaryrefslogtreecommitdiffstats
path: root/rules/ntp.make
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2016-09-01 13:51:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-09-02 13:53:41 +0200
commit4ed183ce4346ec8d3c19bff8c30b688423b50be1 (patch)
tree4c29a0e0539eea0ca890992be34b8a65593d905e /rules/ntp.make
parent3c3a664472e399b0609d6e71cb6028b7758c1685 (diff)
downloadptxdist-4ed183ce4346ec8d3c19bff8c30b688423b50be1.tar.gz
ptxdist-4ed183ce4346ec8d3c19bff8c30b688423b50be1.tar.xz
ntp: add option to install ntptime
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ntp.make')
-rw-r--r--rules/ntp.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/ntp.make b/rules/ntp.make
index 1f7bc3eae..3a9677aa1 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)