config BR2_PACKAGE_LIBCGROUP
	bool "libcgroup"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
	help
	  libcgroup is a library that abstracts the control
	  group file system in Linux.

	  http://libcg.sourceforge.net/

if BR2_PACKAGE_LIBCGROUP

config BR2_PACKAGE_LIBCGROUP_TOOLS
	bool "install tools"
	help
	  Include a set of command-line tools for managing cgroups.

endif

comment "libcgroup needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
