Patchwork acpica: Add recipe for latest version

login
register
mail settings
Submitter Richard Purdie
Date March 2, 2014, 5:41 p.m.
Message ID <1393782102.22581.9.camel@ted>
Download mbox | patch
Permalink /patch/67817/
State New
Headers show

Comments

Richard Purdie - March 2, 2014, 5:41 p.m.
This is now used by multiple architectures and is useful when working
with firmware. I'd love to see more BSPs shipping working firmware
builds and this should bring us a step closer to that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

---
Paul Eggleton - March 2, 2014, 8:53 p.m.
On Sunday 02 March 2014 17:41:42 Richard Purdie wrote:
> This is now used by multiple architectures and is useful when working
> with firmware. I'd love to see more BSPs shipping working firmware
> builds and this should bring us a step closer to that.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> 
> ---
> diff --git a/meta/recipes-bsp/acpica/acpica_20140114.bb
> b/meta/recipes-bsp/acpica/acpica_20140114.bb new file mode 100644
> index 0000000..584023d
> --- /dev/null
> +++ b/meta/recipes-bsp/acpica/acpica_20140114.bb
> @@ -0,0 +1,16 @@
> +SRC_URI =
> "http://acpica.org/sites/acpica/files/acpica-unix2-20140114.tar.gz"
> +LICENSE = "GPLv2.0 | ACPICA"
> +LIC_FILES_CHKSUM =
> "file://source/include/acpi.h;endline=42;md5=23044abac8549f92999615207f2b8f
> 56" +
> +S = "${WORKDIR}/acpica-unix2-${PV}/"
> +
> +EXTRA_OEMAKE = "CC='${CC}'"
> +
> +do_install () {
> +	oe_runmake install DESTDIR='${D}' INSTALLFLAGS='-m 555'
> INSTALLDIR=${bindir} +}
> +
> +SRC_URI[md5sum] = "fcd4b7304f1bfabc7d4b9cfdecc6b0c6"
> +SRC_URI[sha256sum] =
> "0d5bd32690ab77e21ab143ef25361c314a4ed13c33a5fb3ddd6f5559ab24ebc3" +
> +BBCLASSEXTEND = "native"


Not sure if you saw it already but meta-oe has an acpica recipe:

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/acpica

Cheers,
Paul

Patch

diff --git a/meta/recipes-bsp/acpica/acpica_20140114.bb b/meta/recipes-bsp/acpica/acpica_20140114.bb
new file mode 100644
index 0000000..584023d
--- /dev/null
+++ b/meta/recipes-bsp/acpica/acpica_20140114.bb
@@ -0,0 +1,16 @@ 
+SRC_URI = "http://acpica.org/sites/acpica/files/acpica-unix2-20140114.tar.gz"
+LICENSE = "GPLv2.0 | ACPICA"
+LIC_FILES_CHKSUM = "file://source/include/acpi.h;endline=42;md5=23044abac8549f92999615207f2b8f56"
+
+S = "${WORKDIR}/acpica-unix2-${PV}/"
+
+EXTRA_OEMAKE = "CC='${CC}'"
+
+do_install () {
+	oe_runmake install DESTDIR='${D}' INSTALLFLAGS='-m 555' INSTALLDIR=${bindir}
+}
+
+SRC_URI[md5sum] = "fcd4b7304f1bfabc7d4b9cfdecc6b0c6"
+SRC_URI[sha256sum] = "0d5bd32690ab77e21ab143ef25361c314a4ed13c33a5fb3ddd6f5559ab24ebc3"
+
+BBCLASSEXTEND = "native"