Hi Patrick, On 21 December 2016 at 15:11, Patrick Ohly <[email protected]> wrote: > From: meta-luv <[email protected]> > > This is an unmodified copy of > github.com/01org/luv-yocto/meta-luv/recipes-extended/iasl revision > 4be4329. > > iasl is also provided by the meta-oe layer's acpica recipe. iasl is a > bit simpler and thus seems more suitable for OE-core.
Simpler in what sense? acpica recipe is trivial and provide fully acpica tools. Would you mind to import meta-oe acpica recipe instead of providing a reduced set of acpica for not much benefit? > When the meta-oe layer is active, PREFERRED_PROVIDER_iasl-native must > be set to avoid a warning. It can be set to "acpica-native" when > something from acpica besides just iasl is needed. > > Signed-off-by: Patrick Ohly <[email protected]> > --- > meta/recipes-extended/iasl/iasl_20120215.bb | 27 +++++++++++++++++++++++++++ > meta/recipes-extended/iasl/iasl_20150410.bb | 27 +++++++++++++++++++++++++++ > meta/recipes-extended/iasl/iasl_20150515.bb | 27 +++++++++++++++++++++++++++ > 3 files changed, 81 insertions(+) > create mode 100644 meta/recipes-extended/iasl/iasl_20120215.bb > create mode 100644 meta/recipes-extended/iasl/iasl_20150410.bb > create mode 100644 meta/recipes-extended/iasl/iasl_20150515.bb > > diff --git a/meta/recipes-extended/iasl/iasl_20120215.bb > b/meta/recipes-extended/iasl/iasl_20120215.bb > new file mode 100644 > index 0000000..a14d2ec > --- /dev/null > +++ b/meta/recipes-extended/iasl/iasl_20120215.bb > @@ -0,0 +1,27 @@ > +DESCRIPTION = "This is a cross development C compiler, assembler and linker > environment for the production of 8086 executables (Optionally MSDOS COM)" > +HOMEPAGE = "http://www.acpica.org/" > +LICENSE = "Intel-ACPI" > +LIC_FILES_CHKSUM = > "file://asldefine.h;endline=115;md5=d4d7cf809b8b5e03131327b3f718e8f0" > +SECTION = "console/tools" > +PR="r1" > + > +DEPENDS="flex-native bison-native" > + > +SRC_URI="https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz" > + > +SRC_URI[md5sum] = "324c89e5bb9002e2711e0494290ceacc" > +SRC_URI[sha256sum] = > "b2b497415f29ddbefe7be8b9429b62c1f1f6e1ec11456928e4e7da86578e5b8d" > + > +S="${WORKDIR}/acpica-unix-${PV}/source/compiler" > + > +NATIVE_INSTALL_WORKS = "1" > +BBCLASSEXTEND = "native" > + > +do_compile() { > + CFLAGS="-Wno-error=redundant-decls" $MAKE > +} > + > +do_install() { > + mkdir -p ${D}${prefix}/bin > + cp ${S}/iasl ${D}${prefix}/bin > +} > diff --git a/meta/recipes-extended/iasl/iasl_20150410.bb > b/meta/recipes-extended/iasl/iasl_20150410.bb > new file mode 100644 > index 0000000..4e44817 > --- /dev/null > +++ b/meta/recipes-extended/iasl/iasl_20150410.bb > @@ -0,0 +1,27 @@ > +DESCRIPTION = "This is a cross development C compiler, assembler and linker > environment for the production of 8086 executables (Optionally MSDOS COM)" > +HOMEPAGE = "http://www.acpica.org/" > +LICENSE = "Intel-ACPI" > +LIC_FILES_CHKSUM = > "file://Makefile;endline=22;md5=b15414d545d190713f1bab9023dba3be" > +SECTION = "console/tools" > +PR="r1" > + > +DEPENDS="flex-native bison-native" > + > +SRC_URI="https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz" > + > +SRC_URI[md5sum] = "7b49c79728dde65ab1ba4edbee6f0b22" > +SRC_URI[sha256sum] = > "1dce8d9edeb234fd553806987471f6206f429c2aab45556f62a5b2bfe2464875" > + > +S="${WORKDIR}/acpica-unix-${PV}" > + > +NATIVE_INSTALL_WORKS = "1" > +BBCLASSEXTEND = "native" > + > +do_compile() { > + make iasl > +} > + > +do_install() { > + mkdir -p ${D}${prefix}/bin > + cp ${S}/generate/unix/bin/iasl ${D}${prefix}/bin > +} > diff --git a/meta/recipes-extended/iasl/iasl_20150515.bb > b/meta/recipes-extended/iasl/iasl_20150515.bb > new file mode 100644 > index 0000000..c7e1cd5 > --- /dev/null > +++ b/meta/recipes-extended/iasl/iasl_20150515.bb > @@ -0,0 +1,27 @@ > +DESCRIPTION = "This is a cross development C compiler, assembler and linker > environment for the production of 8086 executables (Optionally MSDOS COM)" > +HOMEPAGE = "http://www.acpica.org/" > +LICENSE = "Intel-ACPI" > +LIC_FILES_CHKSUM = > "file://Makefile;endline=22;md5=b15414d545d190713f1bab9023dba3be" > +SECTION = "console/tools" > +PR="r1" > + > +DEPENDS="flex-native bison-native" > + > +SRC_URI="https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz" > + > +SRC_URI[md5sum] = "c8c128b2d4859b52bc9c802faba2e908" > +SRC_URI[sha256sum] = > "bfa1f296a3cc13421331dbaad3b62e0184678cc312104c3e8ac799ead0742c45" > + > +S="${WORKDIR}/acpica-unix-${PV}" > + > +NATIVE_INSTALL_WORKS = "1" > +BBCLASSEXTEND = "native" > + > +do_compile() { > + make iasl > +} > + > +do_install() { > + mkdir -p ${D}${prefix}/bin > + cp ${S}/generate/unix/bin/iasl ${D}${prefix}/bin > +} > -- > 2.1.4 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core Cheers, -- Fathi -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
