kumquat-buildroot/package/ntp/Config.in
Bernd Kuhls f2d9118423 package/ntp: needs either mmu or threads
Fixes:
http://autobuild.buildroot.net/results/f2b466853ed296fdc8b4629f36e5a6447658f82d/

Quoting the first error message:
ntp_io.c:3793:9: error: unknown type name 'blocking_child'

ntp needs either fork or threads:
https://bk.ntp.org/ntp-dev/include/ntp_workimpl.h?PAGE=anno&REV=4d6178063mDeaH-s7PteNqw1DDK-Rw

  #if defined(WORK_FORK) || defined(WORK_THREAD)
  # define WORKER
  #endif

to enable the blocking_child code based on the WORKER define:
https://bk.ntp.org/ntp-dev/include/intreswork.h?PAGE=anno&REV=4d617805zzdW7YeB56-WZ4GbGCcXxw

The build error first occured on April 3rd, 2022:
http://autobuild.buildroot.net/results/31b/31bfdac8411ebf043a39e3277f6d7b008fe337b0/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-28 21:24:26 +02:00

103 lines
2.6 KiB
Plaintext

config BR2_PACKAGE_NTP
bool "ntp"
depends on BR2_USE_MMU || BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBEVENT
help
Network Time Protocol suite/programs.
Provides things like ntpd, ntpdate, ntpq, etc...
http://www.ntp.org/
if BR2_PACKAGE_NTP
config BR2_PACKAGE_NTP_SNTP
bool "sntp"
help
Simple network time protocol program (a replacement
for the ntpdate tool)
A script is installed as S48sntp which will retrieve and
step the time if there is a large difference before ntpd
takes over the necessary slew adjustments in S49ntp.
config BR2_PACKAGE_NTP_NTP_KEYGEN
bool "ntp-keygen"
help
Create a NTP host key
config BR2_PACKAGE_NTP_NTP_SHM_CLK
bool "SHM clock support"
help
Compile ntp with support for a SHM clock attached through
shared memory.
config BR2_PACKAGE_NTP_NTP_WAIT
bool "ntp-wait"
depends on BR2_PACKAGE_PERL
help
ntp-wait waits until the locally running ntpd is in state 4
(synchronized). This could be useful at boot time, to delay
the boot sequence until after "ntpd -g" has set the time.
config BR2_PACKAGE_NTP_NTPD
bool "ntpd"
default y
help
ntpd is the time synchronization daemon keeping your local
system date and time in sync and optionally serving time and
date information on the network via the NTP protocol.
config BR2_PACKAGE_NTP_NTPD_ATOM_PPS
bool "PPS support"
depends on BR2_PACKAGE_NTP_NTPD
select BR2_PACKAGE_PPS_TOOLS
help
Compile ntpd with the ability to use an ATOM PPS source.
config BR2_PACKAGE_NTP_NTPDATE
bool "ntpdate"
help
The ntpdate utility program is used to set the local date
and time from an NTP server given as an argument.
config BR2_PACKAGE_NTP_NTPDC
bool "ntpdc"
help
The ntpdc utility program is used to query an NTP daemon about
its current state and to request changes in that state.
config BR2_PACKAGE_NTP_NTPQ
bool "ntpq"
help
The ntpq utility program is used to query NTP servers
requesting information about current state and/or changes in
that state.
config BR2_PACKAGE_NTP_NTPSNMPD
bool "ntpsnmpd"
depends on BR2_USE_MMU # netsnmp fork()
select BR2_PACKAGE_NETSNMP
help
Install ntpsnmpd NTP SNMP MIB agent.
config BR2_PACKAGE_NTP_NTPTIME
bool "ntptime"
help
The ntptime utility program is used to read and set kernel
time variables.
config BR2_PACKAGE_NTP_NTPTRACE
bool "ntptrace"
depends on BR2_PACKAGE_PERL
help
ntptrace is a perl script that uses the ntpq utility program
to follow the chain of NTP servers from a given host back to
the primary time source
config BR2_PACKAGE_NTP_TICKADJ
bool "tickadj"
help
set time-related kernel variables
endif