blob: 06db99cef5b731366a3fcfe465143f1d929576ea [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "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
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000012LICENSE = "Intel | BSD-3-Clause | GPL-2.0-only"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050013LIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=79a69059b499bccc70a484459549758f"
Andrew Geissler595f6302022-01-24 19:11:47 +000014
15COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
16
17DEPENDS = "m4-native flex-native bison-native"
18
19SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz"
Andrew Geissler8f840682023-07-21 09:09:43 -050020SRC_URI[sha256sum] = "86876a745e3d224dcfd222ed3de465b47559e85811df2db9820ef09a9dff5cce"
Andrew Geissler595f6302022-01-24 19:11:47 +000021
22UPSTREAM_CHECK_URI = "https://acpica.org/downloads"
23
24S = "${WORKDIR}/acpica-unix-${PV}"
25
26inherit update-alternatives
27
28ALTERNATIVE_PRIORITY = "100"
29ALTERNATIVE:${PN} = "acpixtract acpidump"
30
31EXTRA_OEMAKE = "CC='${CC}' \
32 OPT_CFLAGS=-Wall \
33 DESTDIR=${D} \
34 PREFIX=${prefix} \
35 INSTALLDIR=${bindir} \
36 INSTALLFLAGS= \
37 YACC=bison \
38 YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \
39 "
40
41do_install() {
42 oe_runmake install
43}
44
45# iasl*.bb is a subset of this recipe, so RREPLACE it
46PROVIDES = "iasl"
47RPROVIDES:${PN} += "iasl"
48RREPLACES:${PN} += "iasl"
49RCONFLICTS:${PN} += "iasl"
50
51BBCLASSEXTEND = "native"