summaryrefslogtreecommitdiffstats
path: root/package/powertop
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-27 17:01:37 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-02 00:05:38 +0200
commita5a96576fae05bd5b0076112f79aefc9d401efb2 (patch)
treed450fe452fe3fefe56c26f1298e148eeb83ca54d /package/powertop
parent29df1ee7efc3e20d4cf33a62ed2f26fbd62a474b (diff)
downloadbuildroot-a5a96576fae05bd5b0076112f79aefc9d401efb2.tar.gz
buildroot-a5a96576fae05bd5b0076112f79aefc9d401efb2.zip
package/powertop: depends on c++
Fixes configure error due to missing c++ checking for library containing pthread_create... no configure: error: libpthread is required but was not found Quote from config.log: configure:21552: checking for library containing pthread_create configure:21583: false -o conftest -Os conftest.cpp -lintl >&5 [...] ac_cv_env_CXX_set=set ac_cv_env_CXX_value=false using this defconfig BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PACKAGE_POWERTOP=y Please note the number of .cpp files belonging to powertop output/build/powertop-2.7$ find -iname *.cpp | wc -l 59 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/powertop')
-rw-r--r--package/powertop/Config.in12
1 files changed, 6 insertions, 6 deletions
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
OpenPOWER on IntegriCloud