blob: 27db4bf800d372380e7c8dba36b533df3699fca3 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "This is a small collection of power management \
Patrick Williamsddad1a12017-02-23 20:36:32 -06002 test and investigation tools"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003HOMEPAGE = "http://lesswatts.org/projects/acpi"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
7PV = "20130209+git${SRCPV}"
8
9SRC_URI = "git://github.com/anyc/pmtools.git \
10 file://pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch \
11"
12SRCREV = "3ebe0e54c54061b4c627236cbe35d820de2e1168"
13
14COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
15
16S = "${WORKDIR}/git"
17
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018inherit update-alternatives
19
20ALTERNATIVE_PRIORITY = "90"
Patrick Williams213cb262021-08-07 19:21:33 -050021ALTERNATIVE:${PN} = "acpixtract acpidump"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023do_configure[noexec] = "1"
24do_compile() {
Patrick Williamsddad1a12017-02-23 20:36:32 -060025 oe_runmake
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026}
27
28do_install() {
Patrick Williamsddad1a12017-02-23 20:36:32 -060029 install -d ${D}${bindir} ${D}${docdir}
30 install -m 755 ${S}/acpidump/acpidump ${D}${bindir}
31 install -m 755 ${S}/acpixtract/acpixtract ${D}${bindir}
32 install -m 755 ${S}/madt/madt ${D}${bindir}
33 install -m 644 ${S}/README ${D}${docdir}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050034}