0adc0e24ee
[Thomas: - fix commit title - powertop wants libintl unconditionally, so make sure BR2_PACKAGE_GETTEXT is selected when BR2_NEEDS_GETTEXT is set, and add gettext to the dependencies. - add missing comment about thread dependency. - add missing dependency on host-pkgconf, without which powertop cannot find libnl. - patch src/Makefile.am to not pass -fstack-protector, which fails to build if the toolchain does not have SSP support. - rename patch powertop-autotune.patch to confirm to the patch naming convention.] Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
config BR2_PACKAGE_POWERTOP
|
|
bool "powertop"
|
|
# pciutils dependency
|
|
depends on !BR2_bfin
|
|
# libnl dependency
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
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/ threads"
|
|
depends on !BR2_bfin
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|