diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-04-03 20:08:55 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-04 09:46:15 +0200 |
commit | 83b83833ab12cb50c651328c37df4163c6f2fc10 (patch) | |
tree | 7f4e4fd45e5c405e93d65989381d4e0269a25be5 /rules/powertop.in | |
parent | fde6b55332775f992038789251d3dd70b75cfde2 (diff) | |
download | ptxdist-83b83833ab12cb50c651328c37df4163c6f2fc10.tar.gz ptxdist-83b83833ab12cb50c651328c37df4163c6f2fc10.tar.xz |
powertop: version bump 1.11 -> 2.5
This patch adds the new powertop package with pci support. With the old
one I got a 404 while receiving sources. The newer implementation uses
autotools than plain Makefiles. The libpci patch adds a option for
--enable-pci and --disable-pci for the configure argument, which enable
or disable pci support explicit.
Also add a missing LICENSE env in the rule and dependency on !BUSYBOX_POWERTOP
which was reported by Sophie CARAYOL <s.carayol@lacroix-electronics.com>.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/powertop.in')
-rw-r--r-- | rules/powertop.in | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/rules/powertop.in b/rules/powertop.in index 56e752102..2b6b3b8aa 100644 --- a/rules/powertop.in +++ b/rules/powertop.in @@ -1,10 +1,15 @@ ## SECTION=debug_tools -config POWERTOP +menuconfig POWERTOP tristate - prompt "powertop" - select GCCLIBS_GCC_S + prompt "powertop " select NCURSES + select LIBNL3 + select LIBC_RESOLV + select LIBC_PTHREAD + select PCIUTILS if POWERTOP_PCI_SUPPORT + select PCIUTILS_LIBPCI if POWERTOP_PCI_SUPPORT + depends on !BUSYBOX_POWERTOP || ALLYES help PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than @@ -19,3 +24,18 @@ config POWERTOP various sources of information from the kernel into one convenient screen so that you can see how well your system is doing, and which components are the biggest problem. + +if POWERTOP + +config POWERTOP_PCI_SUPPORT + bool + prompt "pci support" + help + This adds powertop support for the PCI bus. Should only be + enabled if you have PCI support. + +endif + +comment "BusyBox' powertop is selected!" + depends on BUSYBOX_POWERTOP + |