All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH RFC] Add analyze-boot
Date: Tue, 25 Aug 2015 11:31:36 +0200	[thread overview]
Message-ID: <20150825093136.GA2459@jama> (raw)
In-Reply-To: <1440470514-26608-1-git-send-email-soren.brinkmann@xilinx.com>

[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]

On Mon, Aug 24, 2015 at 07:41:54PM -0700, Soren Brinkmann wrote:
> Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> ---
> Hi,
> 
> I saw a demo of the analyze_suspend.py script recently and thought it to be a
> nice little utility. Hence, I'd love to have it easily added in my OE flow and
> was looking for an appropriate place. I hope, to have found an OK location
> with meta-oe/recipes-benchmark?

Seems OK to me.

> Apart from the location, the tool does depend a couple of kernel configuration
> option. Could anybody provide some resources/guidance on what the best way for
> specifying those would be?

Just document them in the recipe.

> 
> 	Thanks,
> 	Sören
> 
>  .../analyze-suspend/analyze-suspend_git.bb           | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
> 
> diff --git a/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb b/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
> new file mode 100644
> index 000000000000..8ec3076ba186
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "Analyze Suspend"
> +HOMEPAGE = "https://01.org/suspendresume"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
> +
> +RDEPENDS_${PN} += "python-core python-datetime python-stringold"
> +
> +SRCREV = "${AUTOREV}"

NAK, use known-to-work revision.

> +SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
> +S = "${WORKDIR}/git"
> +
> +do_install() {
> +	install -d -m 0755 ${D}${bindir}
> +	install -m 0755 analyze_suspend.py ${D}${bindir}
> +
> +	install -d -m 0755 ${D}${docdir}/analyze-suspend
> +	install -m 0755 README ${D}${docdir}/analyze-suspend
> +}
> +
> +BBCLASSEXTEND = "native"
> -- 
> 2.5.0.3.g52d66ab
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-08-25  9:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25  2:41 [meta-oe][PATCH RFC] Add analyze-boot Soren Brinkmann
2015-08-25  9:31 ` Martin Jansa [this message]
2015-08-27 21:50   ` Sören Brinkmann

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=20150825093136.GA2459@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 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.