From f48465f04c8678b5431e98386b7de744d030da4e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 3 Sep 2024 16:32:38 +0800 Subject: acpica: upgrade 20240322 -> 20240827 Changelog: ========== - Fix the PHAT table working: ensure that the PHAT firmware health record offset works correctly, fix various sub-table offsets, prevent segmentation faults when encountering invalid device paths. - Fix the optional table 4-byte signature. - Correct the dumping of SLIC and DBG2 tables. - Add support for QWordPCC and DWordPCC - Fix the integer to hex string conversions - Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state - Fixing issues with crossing page boundaries when mapping operation regions - Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables - Fix multiple issues with table parsing, compilation and disassembly - Allow for more flexibility in _DSM usage. (From OE-Core rev: d1271e6435a399094152ceac540e160d87d7ae3b) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-extended/acpica/acpica_20240827.bb | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 meta/recipes-extended/acpica/acpica_20240827.bb (limited to 'meta/recipes-extended/acpica/acpica_20240827.bb') diff --git a/meta/recipes-extended/acpica/acpica_20240827.bb b/meta/recipes-extended/acpica/acpica_20240827.bb new file mode 100644 index 0000000000..7e8c68db90 --- /dev/null +++ b/meta/recipes-extended/acpica/acpica_20240827.bb @@ -0,0 +1,49 @@ +SUMMARY = "ACPICA tools for the development and debug of ACPI tables" +DESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \ +OS-independent reference implementation of the Advanced Configuration and \ +Power Interface Specification (ACPI). ACPICA code contains those portions of \ +ACPI meant to be directly integrated into the host OS as a kernel-resident \ +subsystem, and a small set of tools to assist in developing and debugging \ +ACPI tables." + +HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html" +SECTION = "console/tools" + +LICENSE = "Intel | BSD-3-Clause | GPL-2.0-only" +LIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=05eb845b15a27440410f456adc2ed082" + +COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" + +DEPENDS = "m4-native flex-native bison-native" + +SRC_URI = "git://github.com/acpica/acpica;protocol=https;branch=master" +SRCREV = "e80cbd7b52de20aa8c75bfba9845e9cb61f2e681" + +S = "${WORKDIR}/git" + +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "100" +ALTERNATIVE:${PN} = "acpixtract acpidump" + +EXTRA_OEMAKE = "CC='${CC}' \ + OPT_CFLAGS=-Wall \ + DESTDIR=${D} \ + PREFIX=${prefix} \ + INSTALLDIR=${bindir} \ + INSTALLFLAGS= \ + YACC=bison \ + YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \ + " + +do_install() { + oe_runmake install +} + +# iasl*.bb is a subset of this recipe, so RREPLACE it +PROVIDES = "iasl" +RPROVIDES:${PN} += "iasl" +RREPLACES:${PN} += "iasl" +RCONFLICTS:${PN} += "iasl" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf