diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 14:41:29 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 14:41:29 -0500 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-core/expat | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | talos-openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.gz talos-openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.zip |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-core/expat')
-rw-r--r-- | yocto-poky/meta/recipes-core/expat/expat-2.1.0/autotools.patch | 24 | ||||
-rw-r--r-- | yocto-poky/meta/recipes-core/expat/expat.inc | 20 | ||||
-rw-r--r-- | yocto-poky/meta/recipes-core/expat/expat_2.1.0.bb | 5 |
3 files changed, 49 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-core/expat/expat-2.1.0/autotools.patch b/yocto-poky/meta/recipes-core/expat/expat-2.1.0/autotools.patch new file mode 100644 index 000000000..0e599697a --- /dev/null +++ b/yocto-poky/meta/recipes-core/expat/expat-2.1.0/autotools.patch @@ -0,0 +1,24 @@ +Avoid using expat's m4 files + +Upstream-Status: Inappropriate [Other] +Workaround specific to our build system. + +Signed-off-by: Kevin Tian <kevin.tian@intel.com> +Signed-off-by: Scott Garman <scott.a.garman@intel.com> + +Updated to apply over expat 2.1.0 + +Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> + +diff -Nurd expat-2.1.0/configure.in expat-2.1.0/configure.in +--- expat-2.1.0/configure.in 2012-03-04 01:45:53.000000000 +0200 ++++ expat-2.1.0/configure.in 2012-05-10 21:04:44.000000000 +0300 +@@ -51,8 +51,6 @@ + + AC_CONFIG_HEADER(expat_config.h) + +-sinclude(conftools/ac_c_bigendian_cross.m4) +- + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL + diff --git a/yocto-poky/meta/recipes-core/expat/expat.inc b/yocto-poky/meta/recipes-core/expat/expat.inc new file mode 100644 index 000000000..6dfafe94d --- /dev/null +++ b/yocto-poky/meta/recipes-core/expat/expat.inc @@ -0,0 +1,20 @@ +SUMMARY = "A stream-oriented XML parser library" +DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)" +HOMEPAGE = "http://expat.sourceforge.net/" +SECTION = "libs" +LICENSE = "MIT" + +SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ + file://autotools.patch" + +inherit autotools lib_package gzipnative + +# This package uses an archive format known to have issue with some +# versions of gzip +do_unpack[depends] += "gzip-native:do_populate_sysroot" + +do_configure_prepend () { + rm -f ${S}/conftools/libtool.m4 +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/yocto-poky/meta/recipes-core/expat/expat_2.1.0.bb b/yocto-poky/meta/recipes-core/expat/expat_2.1.0.bb new file mode 100644 index 000000000..b958742ed --- /dev/null +++ b/yocto-poky/meta/recipes-core/expat/expat_2.1.0.bb @@ -0,0 +1,5 @@ +require expat.inc +LIC_FILES_CHKSUM = "file://COPYING;md5=1b71f681713d1256e1c23b0890920874" + +SRC_URI[md5sum] = "dd7dab7a5fea97d2a6a43f511449b7cd" +SRC_URI[sha256sum] = "823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86" |