From: Joe Konno <joe.konno at linux.intel.com>
To: powertop@lists.01.org
Subject: [Powertop] Re: [PATCH 1/3 v1] README.md: rename, add md syntax, and major tweaks
Date: Thu, 07 May 2020 08:28:36 -0700 [thread overview]
Message-ID: <20200507152017.GA40603@jbkonno-drifter> (raw)
In-Reply-To: BYAPR11MB371859EDF83681DE6C5482F0F2A40@BYAPR11MB3718.namprd11.prod.outlook.com
[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]
On Wed, May 06, 2020 at 06:01:19PM +0000, Kammela, Gayatri wrote:
*** snip ***
> > +
> > +# Building PowerTOP
> > +
> > +The `autogen.sh` script needs to be run only once to generate `configure`.
> > +You need to re-run it only if the build system configuration files
> > +(e.g. `configure.ac`) are modified. The remaining steps are required
> > +whenever source files are modified.
> > +
> > +To build PowerTOP from the cloned source, use the following commands:
> > +
> > + ./autogen.sh
> > + ./configure
> > + make
> > +
> > +**Note:** For Android* (running on Intel® architecture) there is a
> > +Android.mk that was provided by community members, and at this time is
> > +supported mostly by community members.
> > +
> > +
> > +## Build PowerTOP for Android Lollipop
> Are these instructions up to date? Just curious as we haven’t had a change to this section in a long time.
No, I did not verify the Android build instructions, I merely converted
the existing instructions to markdown. In a subsequent submission, I
hope to remove the Android build artifacts entirely, as we do not
actively maintain them (and have not received community updates to them
for a long time).
> > +
> > +1. Obtain pciutils and ncurses libraries. Skip this step if they are already in
> > + the tree.
> > +
> > +```
> > +pciutils: Clone
> > + https://github.com/trevd/android_external_pciutils
> > +into external/pciutils
> > +
> > +ncurses: Clone
> > + https://github.com/cvpcs/android_external_libncurses
> > +into external/ncurses
> > +```
> > +
> > +2. Run the following command to generate the `css.h` header file:
> > + ./src/csstoh.sh src/powertop.css src/css.h
> > +
> > +3. Apply patches inside patches/Android
> > +
> > +4. PowerTOP can be built with top level make, or by doing `mm`.
> > +
> > +* The resulting binary is under
> > +`$ANDROID_PRODUCT_OUT/system/bin/powertop`
> > +
> > +
*** snip ***
next reply other threads:[~2020-05-07 15:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 15:28 Joe Konno [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-06 18:01 [Powertop] Re: [PATCH 1/3 v1] README.md: rename, add md syntax, and major tweaks Kammela, Gayatri
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=20200507152017.GA40603@jbkonno-drifter \
--to=powertop@lists.01.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox