mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
For some servers such as Canoe Pass or Thunder Ridge, they have much more entries in ACPI table, so original 1K buffer is insufficient. Switch to dynamic buffer for this situation. Remove 'protocol' field in SRC_URI as well which cause warning: | WARNING: Failed to fetch URL git://github.com/anyc/pmtools.git;protocol=https, | attempting MIRRORS if available Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
30 lines
829 B
BlitzBasic
30 lines
829 B
BlitzBasic
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"
|
|
|
|
PV = "20130209+git${SRCPV}"
|
|
|
|
SRC_URI = "git://github.com/anyc/pmtools.git \
|
|
file://pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch \
|
|
"
|
|
SRCREV = "3ebe0e54c54061b4c627236cbe35d820de2e1168"
|
|
|
|
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
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}
|
|
}
|