diff options
Diffstat (limited to 'meta/recipes-extended/acpica/acpica_20190405.bb')
-rw-r--r-- | meta/recipes-extended/acpica/acpica_20190405.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/acpica/acpica_20190405.bb b/meta/recipes-extended/acpica/acpica_20190405.bb new file mode 100644 index 0000000000..0cd88d4e30 --- /dev/null +++ b/meta/recipes-extended/acpica/acpica_20190405.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 bison-native" | ||
18 | |||
19 | SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz" | ||
20 | SRC_URI[md5sum] = "9ee30c8ff3012e213bc3b21a9d632215" | ||
21 | SRC_URI[sha256sum] = "7e144fd011c23a0a10be0b0d7448c527a4c0f621f1f835a271636e448bc96643" | ||
22 | UPSTREAM_CHECK_URI = "https://acpica.org/downloads" | ||
23 | |||
24 | S = "${WORKDIR}/acpica-unix2-${PV}" | ||
25 | |||
26 | inherit update-alternatives | ||
27 | |||
28 | ALTERNATIVE_PRIORITY = "100" | ||
29 | ALTERNATIVE_${PN} = "acpixtract" | ||
30 | |||
31 | EXTRA_OEMAKE = "CC='${CC}' \ | ||
32 | OPT_CFLAGS=-Wall \ | ||
33 | DESTDIR=${D} \ | ||
34 | PREFIX=${prefix} \ | ||
35 | INSTALLDIR=${bindir} \ | ||
36 | INSTALLFLAGS= \ | ||
37 | " | ||
38 | |||
39 | do_install() { | ||
40 | oe_runmake install | ||
41 | } | ||
42 | |||
43 | # iasl*.bb is a subset of this recipe, so RREPLACE it | ||
44 | PROVIDES = "iasl" | ||
45 | RPROVIDES_${PN} += "iasl" | ||
46 | RREPLACES_${PN} += "iasl" | ||
47 | RCONFLICTS_${PN} += "iasl" | ||
48 | |||
49 | BBCLASSEXTEND = "native" | ||