[oe] [meta-oe][PATCH] pmtools: add new recipe

Jagadeesh Krishnanjanappa jkrishnanjanappa at mvista.com
Tue Aug 18 16:49:53 UTC 2015


pmtools contains small collection of power management test and
investigation tools,
acpidump - dump a system’s ACPI tables to an ASCII file
acpixtract - convert ASCII acpidump output to raw binary table
madt -  parser for ACPI table

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
---
 .../recipes-devtools/pmtools/pmtools_20130209.bb   | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb

diff --git a/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb b/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb
new file mode 100644
index 0000000..1d278fc
--- /dev/null
+++ b/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "This is a small collection of power management \
+               test and investigation tools"
+HOMEPAGE = "http://lesswatts.org/projects/acpi"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+PR = "r0"
+
+SRC_URI = "https://github.com/anyc/${BPN}/archive/${PV}.zip"
+SRC_URI[md5sum] = "98b63903e61b1145b1b17bcfef6ac0b4"
+SRC_URI[sha256sum] = "a043a959d44d616f06dedd30e2045e8e95fed93580e2c146818b6ed3a4b6e448"
+
+COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
+
+do_configure[noexec] = "1"
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	install -d ${D}${bindir} ${D}${docdir}
+	install -m 755 ${S}/acpidump/acpidump ${D}${bindir}
+	install -m 755 ${S}/acpixtract/acpixtract ${D}${bindir}
+	install -m 755 ${S}/madt/madt ${D}${bindir}
+	install -m 644 ${S}/README ${D}${docdir}
+}
-- 
1.9.1




More information about the Openembedded-devel mailing list