blob: ba107435c179b82f056b8cd3ffb805379acd69cd (
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
77
78
79
80
81
82
83
84
85
|
## SECTION=networking
menuconfig NTPCLIENT
tristate
prompt "ntpclient "
default n
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_NTPCLIENT
bool
prompt "ntpclient"
default y
help
Builds the ntpclient binary
config NTPCLIENT_BUILD_ADJTIMEX
bool
depends on !BUSYBOX_ADJTIMEX
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_INSTALL_STARTSCRIPT
bool
prompt "Install start script"
default y
help
Enable this extry to let PTXdist install a startup script
choice
prompt "Kind of startup script"
default ROOTFS_ETC_INITD_NTPCLIENT_DEFAULT
depends on NTPCLIENT_INSTALL_STARTSCRIPT
config ROOTFS_ETC_INITD_NTPCLIENT_DEFAULT
bool
prompt "Use generic"
help
Installs a generic /etc/init.d/ntpclient startup script.
See <ptxdist-install>/generic/etc/init.d/ntpclient
config ROOTFS_ETC_INITD_NTPCLIENT_USER
bool
prompt "User defined"
help
This uses a user defined ntclient startup script. PTXdist
uses files projectroot/etc/init.d/ntpclient in your local
project
endchoice
config NTPCLIENT_NTPSERVER_NAME
depends on NTPCLIENT_INSTALL_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
|