diff options
author | Joe Slater <joe.slater@windriver.com> | 2020-05-19 14:09:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-23 11:40:46 +0100 |
commit | bce8aeaf3a9a37f35107136744fef9ef7ea5158f (patch) | |
tree | 50d484a7c58315288683c6371f2c51620d1ea06e /meta/recipes-extended/acpica/acpica_20200430.bb | |
parent | d018908adb9d19253b9aafd908dace3f685b5bea (diff) | |
download | poky-bce8aeaf3a9a37f35107136744fef9ef7ea5158f.tar.gz |
acpica: Upgrade 20200214 -> 20200430 for gcc-10 fixes
Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.
(From OE-Core rev: 71391aab99033f5488d44c097a25323bdf06ffc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e1df28fb0534587d4f9305eb163f497852df4ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/acpica/acpica_20200430.bb')
-rw-r--r-- | meta/recipes-extended/acpica/acpica_20200430.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/acpica/acpica_20200430.bb b/meta/recipes-extended/acpica/acpica_20200430.bb new file mode 100644 index 0000000000..478be7f56e --- /dev/null +++ b/meta/recipes-extended/acpica/acpica_20200430.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 = "Intel | BSD | GPLv2" | ||
13 | LIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=6adbcb81e9ee6ae50c569b94fe12f7c5" | ||
14 | |||
15 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
16 | |||
17 | DEPENDS = "m4-native flex-native bison-native" | ||
18 | |||
19 | SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz" | ||
20 | SRC_URI[sha256sum] = "fb807f1dec31664f972af37d213abf72987afe33abf68c83051e298da35d297c" | ||
21 | |||
22 | UPSTREAM_CHECK_URI = "https://acpica.org/downloads" | ||
23 | |||
24 | S = "${WORKDIR}/acpica-unix-${PV}" | ||
25 | |||
26 | inherit update-alternatives | ||
27 | |||
28 | ALTERNATIVE_PRIORITY = "100" | ||
29 | ALTERNATIVE_${PN} = "acpixtract acpidump" | ||
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" | ||