summaryrefslogtreecommitdiffstats
path: root/rules/ntpclient.in
blob: 9698f33f080c91be1fff9eb8467ee62964688998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
## SECTION=networking
menuconfig NTPCLIENT
	tristate
	prompt "ntpclient                     "
	select LIBC_RT if NTPCLIENT_BUILD_NTPCLIENT
	help
	  ntpclient is a small and efficient client to the NTP protocol.

	  Description by Larry Doolittle:
	  ntpclient is an NTP (RFC-1305) client for unix-alike computers.
	  Its functionality is a small subset of xntpd, but IMHO performs
	  better (or at least has the potential to function better) within
	  that limited scope. Since it is much smaller than xntpd, it is
	  also more relevant for embedded computers.

	  ntpclient is Copyright 1997, 1999, 2000, 2003 Larry Doolittle,
	  and may be freely used and copied according to the terms of the
	  GNU General Public License, version 2.

	  See http://doolittle.icarus.com/ntpclient/ for details.


if NTPCLIENT

comment "build options   ---"

config NTPCLIENT_BUILD_DEBUG
	bool
	prompt "add debug output"
	help
	  Make the program more noisy

config NTPCLIENT_BUILD_REPLAY_OPTION
	bool
	prompt "add replay option"
	help
	  Replay analysis code based on stdin. More intended for debugging.

comment "install options   ---"

config NTPCLIENT_BUILD_NTPCLIENT
	bool
	prompt "ntpclient"
	default y
	help
	  Builds the ntpclient binary

config NTPCLIENT_BUILD_ADJTIMEX
	bool
	depends on !BUSYBOX_ADJTIMEX || ALLYES
	prompt "adjtimex"
	default y
	help
	  Builds the adjtimex binary to control system time

comment "BusyBox' adjtimex is in use"
	depends on BUSYBOX_ADJTIMEX

comment "runtime options   ---"

config NTPCLIENT_STARTSCRIPT
	bool
	default y
	depends on INITMETHOD_BBINIT
	prompt "install /etc/init.d/ntpclient"

config NTPCLIENT_NTPSERVER_NAME
	depends on NTPCLIENT_STARTSCRIPT
	string
	prompt "NTP server name"
	default ""
	help
	  This will replace the string @HOST@ in the startup script to the given name.
	  ntpclient will connect this host to read the current time.

endif