All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH RFC] Add analyze-boot
@ 2015-08-25  2:41 Soren Brinkmann
  2015-08-25  9:31 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Soren Brinkmann @ 2015-08-25  2:41 UTC (permalink / raw)
  To: openembedded-devel

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?

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?

	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}"
+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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH RFC] Add analyze-boot
  2015-08-25  2:41 [meta-oe][PATCH RFC] Add analyze-boot Soren Brinkmann
@ 2015-08-25  9:31 ` Martin Jansa
  2015-08-27 21:50   ` Sören Brinkmann
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-08-25  9:31 UTC (permalink / raw)
  To: openembedded-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH RFC] Add analyze-boot
  2015-08-25  9:31 ` Martin Jansa
@ 2015-08-27 21:50   ` Sören Brinkmann
  0 siblings, 0 replies; 3+ messages in thread
From: Sören Brinkmann @ 2015-08-27 21:50 UTC (permalink / raw)
  To: openembedded-devel

Hi Martin,

On Tue, 2015-08-25 at 11:31AM +0200, Martin Jansa wrote:
> 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.

OK. That's easy.

> 
> > 
> > 	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.

OK. I just pin it to the latest available.

A v2 is on its way.

	Thanks,
	Sören


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-27 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25  2:41 [meta-oe][PATCH RFC] Add analyze-boot Soren Brinkmann
2015-08-25  9:31 ` Martin Jansa
2015-08-27 21:50   ` Sören Brinkmann

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.