config BR2_PACKAGE_POWERTOP
	bool "powertop"
	depends on !BR2_bfin # pciutils
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_PCIUTILS
	select BR2_PACKAGE_LIBNL
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
	help
	  A tool to diagnose issues with power consumption and power management

	  https://01.org/powertop/

comment "powertop needs a toolchain w/ C++, threads, wchar"
	depends on !BR2_bfin
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_USE_WCHAR
