diff options
Diffstat (limited to 'meta/recipes-extended/acpica/acpica_20150515.bb')
-rw-r--r-- | meta/recipes-extended/acpica/acpica_20150515.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-extended/acpica/acpica_20150515.bb b/meta/recipes-extended/acpica/acpica_20150515.bb new file mode 100644 index 0000000000..de897e1917 --- /dev/null +++ b/meta/recipes-extended/acpica/acpica_20150515.bb | |||
@@ -0,0 +1,46 @@ | |||
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 | " | ||
22 | SRC_URI[md5sum] = "2bc4a7ccc82de9df9fa964f784ecb29c" | ||
23 | SRC_URI[sha256sum] = "61204ec56d71bc9bfa2ee2ade4c66f7e8541772ac72ef8ccc20b3f339cc96374" | ||
24 | |||
25 | S = "${WORKDIR}/acpica-unix2-${PV}" | ||
26 | |||
27 | EXTRA_OEMAKE = "CC='${CC}' 'OPT_CFLAGS=-Wall'" | ||
28 | |||
29 | do_install() { | ||
30 | install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl | ||
31 | install -D -p -m0755 generate/unix/bin*/acpibin ${D}${bindir}/acpibin | ||
32 | install -D -p -m0755 generate/unix/bin*/acpiexec ${D}${bindir}/acpiexec | ||
33 | install -D -p -m0755 generate/unix/bin*/acpihelp ${D}${bindir}/acpihelp | ||
34 | install -D -p -m0755 generate/unix/bin*/acpinames ${D}${bindir}/acpinames | ||
35 | install -D -p -m0755 generate/unix/bin*/acpisrc ${D}${bindir}/acpisrc | ||
36 | install -D -p -m0755 generate/unix/bin*/acpixtract ${D}${bindir}/acpixtract | ||
37 | } | ||
38 | |||
39 | # iasl*.bb is a subset of this recipe, so RREPLACE it | ||
40 | PROVIDES = "iasl" | ||
41 | RPROVIDES_${PN} += "iasl" | ||
42 | RREPLACES_${PN} += "iasl" | ||
43 | RCONFLIGHTS_${PN} += "iasl" | ||
44 | |||
45 | NATIVE_INSTALL_WORKS = "1" | ||
46 | BBCLASSEXTEND = "native" | ||