diff options
Diffstat (limited to 'meta/recipes-extended/acpica/acpica_20170303.bb')
-rw-r--r-- | meta/recipes-extended/acpica/acpica_20170303.bb | 49 |
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 @@ | |||
1 | SUMMARY = "ACPICA tools for the development and debug of ACPI tables" | ||
2 | DESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \ | ||
3 | OS-independent reference implementation of the Advanced Configuration and \ | ||
4 | Power Interface Specification (ACPI). ACPICA code contains those portions of \ | ||
5 | ACPI meant to be directly integrated into the host OS as a kernel-resident \ | ||
6 | subsystem, and a small set of tools to assist in developing and debugging \ | ||
7 | ACPI tables." | ||
8 | |||
9 | HOMEPAGE = "http://www.acpica.org/" | ||
10 | SECTION = "console/tools" | ||
11 | |||
12 | LICENSE = "BSD | GPLv2" | ||
13 | LIC_FILES_CHKSUM = "file://generate/unix/readme.txt;md5=204407e197c1a01154a48f6c6280c3aa" | ||
14 | |||
15 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
16 | |||
17 | DEPENDS = "bison flex" | ||
18 | |||
19 | SRC_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 | " | ||
24 | SRC_URI[md5sum] = "48ef4314fb4ffdd0c96f14dcf20544e1" | ||
25 | SRC_URI[sha256sum] = "b2d81e84107ac9a02be86ea43cbea7afa8fd4b4150270bc88c2d4c9fea0b8aad" | ||
26 | UPSTREAM_CHECK_URI = "https://acpica.org/downloads" | ||
27 | |||
28 | S = "${WORKDIR}/acpica-unix2-${PV}" | ||
29 | |||
30 | EXTRA_OEMAKE = "CC='${CC}' 'OPT_CFLAGS=-Wall'" | ||
31 | |||
32 | do_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 | ||
43 | PROVIDES = "iasl" | ||
44 | RPROVIDES_${PN} += "iasl" | ||
45 | RREPLACES_${PN} += "iasl" | ||
46 | RCONFLIGHTS_${PN} += "iasl" | ||
47 | |||
48 | NATIVE_INSTALL_WORKS = "1" | ||
49 | BBCLASSEXTEND = "native" | ||