From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: add powertop 2.7
Date: Thu, 19 Mar 2015 07:31:15 +0200 [thread overview]
Message-ID: <20150319053115.GU2415@tarshish> (raw)
In-Reply-To: <1426736888-29437-2-git-send-email-steven@uplinklabs.net>
Hi Steven,
On Wed, Mar 18, 2015 at 08:48:04PM -0700, Steven Noonan wrote:
> diff --git a/package/powertop/Config.in b/package/powertop/Config.in
> new file mode 100644
> index 0000000..0e83c8f
> --- /dev/null
> +++ b/package/powertop/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_POWERTOP
> + bool "powertop"
> + select BR2_PACKAGE_NCURSES
> + select BR2_PACKAGE_PCIUTILS
> + select BR2_PACKAGE_LIBNL
Dependencies propagation.
> + help
> + A tool to diagnose issues with power consumption and power management
> +
> + https://01.org/powertop/
> diff --git a/package/powertop/powertop-autotune.patch b/package/powertop/powertop-autotune.patch
> new file mode 100644
> index 0000000..23d6433
> --- /dev/null
> +++ b/package/powertop/powertop-autotune.patch
> @@ -0,0 +1,9 @@
> +--- a/src/devices/devfreq.cpp
> ++++ b/src/devices/devfreq.cpp
Please add a description and your sing-off here.
> +@@ -247,6 +247,7 @@ void create_all_devfreq_devices(void)
> + fprintf(stderr, "Devfreq not enabled\n");
> + is_enabled = false;
> + closedir(dir);
> ++ dir = NULL;
> + return;
> + }
> diff --git a/package/powertop/powertop.hash b/package/powertop/powertop.hash
> new file mode 100644
> index 0000000..b26ae80
> --- /dev/null
> +++ b/package/powertop/powertop.hash
> @@ -0,0 +1,2 @@
> +# From https://01.org/sites/default/files/downloads/powertop/powertop-2.7.tar.gz
Hash origin.
> +sha256 8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca powertop-2.7.tar.gz
> diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk
> new file mode 100644
> index 0000000..337688a
> --- /dev/null
> +++ b/package/powertop/powertop.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# powertop
> +#
> +################################################################################
> +
> +POWERTOP_VERSION = 2.7
> +POWERTOP_SOURCE = powertop-$(POWERTOP_VERSION).tar.gz
This is the default. Please remove.
> +POWERTOP_SITE = https://01.org/sites/default/files/downloads/powertop/
> +POWERTOP_DEPENDENCIES = pciutils ncurses libnl
> +POWERTOP_LICENSE = GPLv2
> +POWERTOP_LICENSE_FILES = COPYING
> +
> +$(eval $(autotools-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2015-03-19 5:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 3:48 [Buildroot] [PATCH] package: add hwloc 1.10.1 Steven Noonan
2015-03-19 3:48 ` [Buildroot] [PATCH] package: add powertop 2.7 Steven Noonan
2015-03-19 5:31 ` Baruch Siach [this message]
2015-03-19 3:48 ` [Buildroot] [PATCH] package: add shadow 4.2.1 Steven Noonan
2015-03-19 13:07 ` Ryan Barnett
2015-07-18 20:11 ` Thomas Petazzoni
2015-03-19 3:48 ` [Buildroot] [PATCH] package/numactl: upgrade to 2.0.10 Steven Noonan
2015-03-19 5:26 ` Baruch Siach
2015-03-19 5:30 ` Steven Noonan
2015-03-19 3:48 ` [Buildroot] [PATCH] package: add pacman 4.2.1 Steven Noonan
2015-03-20 6:15 ` Baruch Siach
2015-03-20 19:52 ` Thomas Petazzoni
2015-03-20 20:18 ` Steven Noonan
2015-03-20 20:34 ` Thomas Petazzoni
2015-03-20 21:19 ` Steven Noonan
2015-03-19 3:48 ` [Buildroot] [PATCH] package: add mosh 1.2.4 Steven Noonan
2015-03-20 6:12 ` Baruch Siach
2015-03-19 5:21 ` [Buildroot] [PATCH] package: add hwloc 1.10.1 Baruch Siach
2015-03-19 5:24 ` Steven Noonan
-- strict thread matches above, loose matches on Subject: below --
2015-03-19 5:40 [Buildroot] [PATCH] package: add powertop 2.7 Steven Noonan
2015-03-20 15:33 ` Thomas Petazzoni
2015-03-20 20:28 ` Steven Noonan
2015-03-20 20:54 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150319053115.GU2415@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.