summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/acpica/acpica_20170303.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/acpica/acpica_20170303.bb')
-rw-r--r--meta/recipes-extended/acpica/acpica_20170303.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/acpica/acpica_20170303.bb b/meta/recipes-extended/acpica/acpica_20170303.bb
new file mode 100644
index 0000000000..12dfc6da3f
--- /dev/null
+++ b/meta/recipes-extended/acpica/acpica_20170303.bb
@@ -0,0 +1,49 @@
1SUMMARY = "ACPICA tools for the development and debug of ACPI tables"
2DESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \
3OS-independent reference implementation of the Advanced Configuration and \
4Power Interface Specification (ACPI). ACPICA code contains those portions of \
5ACPI meant to be directly integrated into the host OS as a kernel-resident \
6subsystem, and a small set of tools to assist in developing and debugging \
7ACPI tables."
8
9HOMEPAGE = "http://www.acpica.org/"
10SECTION = "console/tools"
11
12LICENSE = "BSD | GPLv2"
13LIC_FILES_CHKSUM = "file://generate/unix/readme.txt;md5=204407e197c1a01154a48f6c6280c3aa"
14
15COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
16
17DEPENDS = "bison flex"
18
19SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz \
20 file://no-werror.patch \
21 file://rename-yy_scan_string-manually.patch \
22 file://manipulate-fds-instead-of-FILE.patch;striplevel=2 \
23 "
24SRC_URI[md5sum] = "48ef4314fb4ffdd0c96f14dcf20544e1"
25SRC_URI[sha256sum] = "b2d81e84107ac9a02be86ea43cbea7afa8fd4b4150270bc88c2d4c9fea0b8aad"
26UPSTREAM_CHECK_URI = "https://acpica.org/downloads"
27
28S = "${WORKDIR}/acpica-unix2-${PV}"
29
30EXTRA_OEMAKE = "CC='${CC}' 'OPT_CFLAGS=-Wall'"
31
32do_install() {
33 install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl
34 install -D -p -m0755 generate/unix/bin*/acpibin ${D}${bindir}/acpibin
35 install -D -p -m0755 generate/unix/bin*/acpiexec ${D}${bindir}/acpiexec
36 install -D -p -m0755 generate/unix/bin*/acpihelp ${D}${bindir}/acpihelp
37 install -D -p -m0755 generate/unix/bin*/acpinames ${D}${bindir}/acpinames
38 install -D -p -m0755 generate/unix/bin*/acpisrc ${D}${bindir}/acpisrc
39 install -D -p -m0755 generate/unix/bin*/acpixtract ${D}${bindir}/acpixtract
40}
41
42# iasl*.bb is a subset of this recipe, so RREPLACE it
43PROVIDES = "iasl"
44RPROVIDES_${PN} += "iasl"
45RREPLACES_${PN} += "iasl"
46RCONFLIGHTS_${PN} += "iasl"
47
48NATIVE_INSTALL_WORKS = "1"
49BBCLASSEXTEND = "native"