[oe] [meta-oe][PATCH RFC] Add analyze-boot
Soren Brinkmann
soren.brinkmann at xilinx.com
Tue Aug 25 02:41:54 UTC 2015
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?
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
More information about the Openembedded-devel
mailing list