Add analyze-suspend
PATCH v2 1/1 Add analyze-suspend
---
v2:
- replace 'boot'->'suspend' in commit message
- document kernel dependencies in recipe
- pin git commit
--- .../analyze-suspend/analyze-suspend_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +SUMMARY = "Analyze Suspend" +HOMEPAGE = "https://01.org/suspendresume" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +# Apart from the listed RDEPENDS, analyze-suspend depends on some features +# provided by the kernel. These options are: +# - CONFIG_PM_DEBUG=y +# - CONFIG_PM_SLEEP_DEBUG=y +# - CONFIG_FTRACE=y +# - CONFIG_FUNCTION_TRACER=y +# - CONFIG_FUNCTION_GRAPH_TRACER=y + +RDEPENDS_${PN} += "python-core python-datetime python-stringold" + +SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b" +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"
Signature · 1 line
2.5.0.3.g52d66ab
Quoted 17 lines · Soren Brinkmann
Signed-off-by Soren Brinkmann <[email protected]>---
v2:
- replace 'boot'->'suspend' in commit message
- document kernel dependencies in recipe
- pin git commit--- .../analyze-suspend/analyze-suspend_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bbmeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +0
-0
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 1
Quoted 1 line
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +1
-0@@ -0,0 +1,28 @@ +SUMMARY = "Analyze Suspend"
If you add DESCRIPTION with more details it could help folks trying to use this
and please define PV = "3.2+gitr${SRCPV}"
Quoted 11 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +11
-0+HOMEPAGE = "https://01.org/suspendresume" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +# Apart from the listed RDEPENDS, analyze-suspend depends on some features +# provided by the kernel. These options are: +# - CONFIG_PM_DEBUG=y +# - CONFIG_PM_SLEEP_DEBUG=y +# - CONFIG_FTRACE=y +# - CONFIG_FUNCTION_TRACER=y +# - CONFIG_FUNCTION_GRAPH_TRACER=y
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 22
Quoted 10 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +10
-0+ +RDEPENDS_${PN} += "python-core python-datetime python-stringold" + +SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b" +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}
both these could be squashed into
install -Dm 0755 analyze_suspend.py ${D}${bindir}/analyze_suspend.py
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 25
Quoted 3 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +3
-0+ + install -d -m 0755 ${D}${docdir}/analyze-suspend + install -m 0755 README ${D}${docdir}/analyze-suspend
same as above
Quoted 11 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +3
-1+} + +BBCLASSEXTEND = "native" --2.5.0.3.g52d66ab
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 49 lines · Khem Raj
Quoted 17 lines · Soren Brinkmann
Signed-off-by Soren Brinkmann <[email protected]>---
v2:
- replace 'boot'->'suspend' in commit message
- document kernel dependencies in recipe
- pin git commit--- .../analyze-suspend/analyze-suspend_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bbmeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +0
-0meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 1
Quoted 1 line
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +1
-0@@ -0,0 +1,28 @@ +SUMMARY = "Analyze Suspend"If you add DESCRIPTION with more details it could help folks trying to use this
and please define PV = "3.2+gitr${SRCPV}"
Quoted 11 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +11
-0+HOMEPAGE = "https://01.org/suspendresume" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +# Apart from the listed RDEPENDS, analyze-suspend depends on some features +# provided by the kernel. These options are: +# - CONFIG_PM_DEBUG=y +# - CONFIG_PM_SLEEP_DEBUG=y +# - CONFIG_FTRACE=y +# - CONFIG_FUNCTION_TRACER=y +# - CONFIG_FUNCTION_GRAPH_TRACER=ymeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 22
Quoted 10 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +10
-0+ +RDEPENDS_${PN} += "python-core python-datetime python-stringold" + +SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b" +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}both these could be squashed into
Quoted 7 lines
install -Dm 0755
analyze_suspend.py${D}${bindir}/analyze_suspend.pymeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 25
Quoted 3 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +3
-0+ + install -d -m 0755 ${D}${docdir}/analyze-suspend + install -m 0755 README ${D}${docdir}/analyze-suspendsame as above
and README file shouldn't be executable, use 0644
Quoted 17 lines
Quoted 12 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +3
-1+} + +BBCLASSEXTEND = "native" --2.5.0.3.g52d66ab
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 52 lines · Martin Jansa
Quoted 51 lines · Khem Raj
Quoted 17 lines · Soren Brinkmann
Signed-off-by Soren Brinkmann <[email protected]>---
v2:
- replace 'boot'->'suspend' in commit message
- document kernel dependencies in recipe
- pin git commit--- .../analyze-suspend/analyze-suspend_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bbmeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +0
-0meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 1
Quoted 1 line
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +1
-0@@ -0,0 +1,28 @@ +SUMMARY = "Analyze Suspend"If you add DESCRIPTION with more details it could help folks trying to use this
and please define PV = "3.2+gitr${SRCPV}"
Quoted 11 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +11
-0+HOMEPAGE = "https://01.org/suspendresume" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +# Apart from the listed RDEPENDS, analyze-suspend depends on some features +# provided by the kernel. These options are: +# - CONFIG_PM_DEBUG=y +# - CONFIG_PM_SLEEP_DEBUG=y +# - CONFIG_FTRACE=y +# - CONFIG_FUNCTION_TRACER=y +# - CONFIG_FUNCTION_GRAPH_TRACER=ymeta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 22
Quoted 10 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +10
-0+ +RDEPENDS_${PN} += "python-core python-datetime python-stringold" + +SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b" +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}both these could be squashed into
install -Dm 0755
analyze_suspend.py${D}${bindir}/analyze_suspend.py
Quoted 7 lines
Quoted 5 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 25
Quoted 3 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +3
-0+ + install -d -m 0755 ${D}${docdir}/analyze-suspend + install -m 0755 README ${D}${docdir}/analyze-suspendsame as above
and README file shouldn't be executable, use 0644
Good catch. Just fixed that up too together with all the other things Khem pointed out. I'll send out v3 a little later today.
Thanks,
Sören