From 83b83833ab12cb50c651328c37df4163c6f2fc10 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Thu, 3 Apr 2014 20:08:55 +0200 Subject: 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 . Signed-off-by: Alexander Aring Signed-off-by: Michael Olbrich --- rules/powertop.in | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'rules/powertop.in') 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 + -- cgit v1.2.3