config BR2_PACKAGE_CHRONY
	bool "chrony"
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_LIBCAP
	help
	  Chrony is a pair of programs which are used to maintain the
	  accuracy of the system clock.

	  https://chrony-project.org/

if BR2_PACKAGE_CHRONY

config BR2_PACKAGE_CHRONY_DEBUG_LOGGING
	bool "enable debug logging support"
	help
	  Enable support for debug logging output from Chrony when
	  enabled at runtime. If disabled, code for debug logging will
	  not be compiled in.

endif

comment "chrony needs a toolchain w/ threads"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS
