[oe] [meta-oe][PATCH RFC] Add analyze-boot
Martin Jansa
martin.jansa at gmail.com
Tue Aug 25 09:31:36 UTC 2015
On Mon, Aug 24, 2015 at 07:41:54PM -0700, Soren Brinkmann wrote:
> Signed-off-by: Soren Brinkmann <soren.brinkmann at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150825/45b5217a/attachment-0002.sig>
More information about the Openembedded-devel
mailing list