diff --git a/package/powertop/Config.in b/package/powertop/Config.in index 5ba83b3c23..a532302a64 100644 --- a/package/powertop/Config.in +++ b/package/powertop/Config.in @@ -1,9 +1,8 @@ config BR2_PACKAGE_POWERTOP bool "powertop" - # pciutils dependency - depends on !BR2_bfin - # libnl dependency - depends on BR2_TOOLCHAIN_HAS_THREADS + 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 @@ -14,6 +13,7 @@ config BR2_PACKAGE_POWERTOP https://01.org/powertop/ -comment "powertop needs a toolchain w/ threads, wchar" +comment "powertop needs a toolchain w/ C++, threads, wchar" depends on !BR2_bfin - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR