acpica: Add ACPICA package
PATCH 1/1 acpica: Add ACPICA package
Added ACPICA package which enables viewing/editing/compiling of ACPI tables.
--- meta/recipes-extended/acpica/acpica_20130725.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/recipes-extended/acpica/acpica_20130725.bb
meta/recipes-extended/acpica/acpica_20130725.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "ACPI Component Architecture (ACPICA) project" +LICENSE = "BSD | GPLv2" +HOMEPAGE = "http://www.acpica.org" +PR = "r0" + +LIC_FILES_CHKSUM = "file://${S}/source/include/aclocal.h;endline=42;md5=07fbd4e514c75e140a19e3ab508f763d" + +SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz" + +SRC_URI[md5sum] = "ef854d8c97f04795d6ac958cb8898e7e" +SRC_URI[sha256sum] = "f31ad702a17f9dd03907693120267216d1a797625d123a38f3064fbafe141d8a" + +S = "${WORKDIR}/acpica-unix2-${PV}" + +inherit autotools + +do_compile() { + oe_runmake CC="${CC}" +} + +do_install() { + oe_runmake INSTALLFLAGS="-m 555" +}
Signature · 1 line
1.8.2.rc3.6.g407929c
Hi,
Quoted 2 lines · Matt Ranostay
Added ACPICA package which enables viewing/editing/compiling of ACPI tables.
Is this really general-purpose enough to be suitable for oe-core, or would it be more suited to meta-oe or some other layer?
Quoted 1 line
+PR = "r0"
Remove this line, r0 is the default.
+LIC_FILES_CHKSUM = "file://${S}/source/include/aclocal.h;endline=42;md5=07fbd4e514c75e140a19e3ab508f763d"
${S} is default, so in general people do file://sources/...
Quoted 1 line
+SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz"
Fetching that here with wget produces:
ERROR: The certificate of ‘acpica.org’ is not trusted.
Someone should tell them...
Quoted 1 line
+inherit autotools
The recipe doesn't use autotools, so you should drop this inherit.
meta/recipes-extended/acpica/acpica_20130725.bb line 23
Quoted 3 lines
meta/recipes-extended/acpica/acpica_20130725.bb new file +3
-0+do_install() { + oe_runmake INSTALLFLAGS="-m 555" +}
That's just running 'make INSTALLFLAGS="-m 555"'. You'll need to tell it to run the right target for install, and to pass ${D} somehow so the makefile doesn't try and write to /usr directly.
Ross
Quoted 10 lines · Ross
Hi,
Quoted 2 lines · Matt Ranostay
Added ACPICA package which enables viewing/editing/compiling of ACPI tables.
Is this really general-purpose enough to be suitable for oe-core, or would it be more suited to meta-oe or some other layer?
Probably correct to be in meta-oe or another layer since only x86 and some
ARM platforms use ACPI as of now.
Quoted 8 lines
Quoted 1 line
+PR = "r0"
Remove this line, r0 is the default.
+LIC_FILES_CHKSUM =
"file://${S}/source/include/aclocal.h;endline=42;md5=07fbd4e514c75e140a19e3ab508f763d"
Quoted 10 lines
${S} is default, so in general people do file://sources/...
Quoted 1 line
+SRC_URI = "
https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz"
Fetching that here with wget produces:
ERROR: The certificate of ‘acpica.org’ is not trusted.
Seems StartCom Ltd. isn't a trusted CA or just not in the keystore by default.
Quoted 19 lines
Someone should tell them...
Quoted 1 line
+inherit autotools
The recipe doesn't use autotools, so you should drop this inherit.
meta/recipes-extended/acpica/acpica_20130725.bb line 23
Quoted 3 lines
meta/recipes-extended/acpica/acpica_20130725.bb new file +3
-0+do_install() { + oe_runmake INSTALLFLAGS="-m 555" +}That's just running 'make INSTALLFLAGS="-m 555"'. You'll need to tell it to run the right target for install, and to pass ${D} somehow so the makefile doesn't try and write to /usr directly.
Gah good catch. Will fix up and resubmit.
Ross
Hi Matt,
Quoted 9 lines · Matt Ranostay
Quoted 6 lines · Ross
Hi,
Quoted 2 lines · Matt Ranostay
Added ACPICA package which enables viewing/editing/compiling of ACPI tables.
2 weeks ago, I've added acpica to our meta layer:
https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=blob;f=meta-linaro/recipes-extra/acpica/acpica_20130626.bb;h=65eadac0d8cb289fafc3fd9093771414850b9973;hb=ac4d009827b1552e3422aede2c06b5a610221144
Feel free to cherry pick if you found anything useful.
Quoted 43 lines
Quoted 3 lines
Is this really general-purpose enough to be suitable for oe-core, or would it be more suited to meta-oe or some other layer?
Probably correct to be in meta-oe or another layer since only x86 and some ARM platforms use ACPI as of now.
Quoted 9 lines
Quoted 2 lines
+PR = "r0"
Remove this line, r0 is the default.
+LIC_FILES_CHKSUM =
"file://${S}/source/include/aclocal.h;endline=42;md5=07fbd4e514c75e140a19e3ab508f763d"
Quoted 9 lines
${S} is default, so in general people do file://sources/...
Quoted 2 lines
+SRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz"
Fetching that here with wget produces:
ERROR: The certificate of ‘acpica.org’ is not trusted.
Seems StartCom Ltd. isn't a trusted CA or just not in the keystore by default.
Quoted 7 lines
Someone should tell them...
Quoted 1 line
+inherit autotools
The recipe doesn't use autotools, so you should drop this inherit.
Quoted 8 lines
meta/recipes-extended/acpica/acpica_20130725.bb line 23
Quoted 3 lines
meta/recipes-extended/acpica/acpica_20130725.bb new file +3
-0+do_install() { + oe_runmake INSTALLFLAGS="-m 555" +}That's just running 'make INSTALLFLAGS="-m 555"'. You'll need to tell it to run the right target for install, and to pass ${D} somehow so the makefile doesn't try and write to /usr directly.
Quoted 1 line
Gah good catch. Will fix up and resubmit.
Cheers,
Fathi