summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libffi/libffi_3.3~rc0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-19 09:42:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-22 17:35:43 +0100
commit06e731bdea527d5c42e99bbcef7f2835e158c0a0 (patch)
tree7ffc3604eddf1a0502e832d400a513371895323d /meta/recipes-support/libffi/libffi_3.3~rc0.bb
parenta0f5c84c393107e3d054a5804748f046dffef8b9 (diff)
downloadopenembedded-core-06e731bdea527d5c42e99bbcef7f2835e158c0a0.tar.gz
openembedded-core-06e731bdea527d5c42e99bbcef7f2835e158c0a0.tar.bz2
openembedded-core-06e731bdea527d5c42e99bbcef7f2835e158c0a0.zip
libffi: Upgrade to 3.3-rc0
libffi 3.1 release has been a bit aged and new architectures, compilers have since been come on stage to compile it, we have been carrying patches, but its better to use the latest 3.3 rc0 which has lot of these issues handled and is in good shape. Use 3.3~rc0 for PV to keep room for upgrade path without PE bump fix the multilib header conflict file /usr/include/ffi.h from install of libffi-dev-3.2.1+3.3+rc0-r0.core2_32 conflicts with file from package lib64-libffi-dev-3.2.1+3.3+rc0-r0.x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libffi/libffi_3.3~rc0.bb')
-rw-r--r--meta/recipes-support/libffi/libffi_3.3~rc0.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/libffi/libffi_3.3~rc0.bb b/meta/recipes-support/libffi/libffi_3.3~rc0.bb
new file mode 100644
index 0000000000..dadde0b2a0
--- /dev/null
+++ b/meta/recipes-support/libffi/libffi_3.3~rc0.bb
@@ -0,0 +1,36 @@
+SUMMARY = "A portable foreign function interface library"
+HOMEPAGE = "http://sourceware.org/libffi/"
+DESCRIPTION = "The `libffi' library provides a portable, high level programming interface to various calling \
+conventions. This allows a programmer to call any function specified by a call interface description at run \
+time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the \
+interface that allows code written in one language to call code written in another language. The `libffi' \
+library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. \
+A layer must exist above `libffi' that handles type conversions for values passed between the two languages."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3610bb17683a0089ed64055416b2ae1b"
+
+SRC_URI = "https://github.com/libffi/libffi/releases/download/v3.3-rc0/libffi-3.3-rc0.tar.gz \
+ file://not-win32.patch \
+ "
+SRC_URI[md5sum] = "8d2a82a78faf10a5e53c27d986e8f04e"
+SRC_URI[sha256sum] = "403d67aabf1c05157855ea2b1d9950263fb6316536c8c333f5b9ab1eb2f20ecf"
+
+EXTRA_OECONF += "--disable-builddir"
+EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'"
+inherit autotools texinfo multilib_header
+
+S = "${WORKDIR}/${BPN}-3.3-rc0"
+
+do_install_append() {
+ oe_multilib_header ffi.h
+}
+
+FILES_${PN}-dev += "${libdir}/libffi-${PV}"
+
+# Doesn't compile in MIPS16e mode due to use of hand-written
+# assembly
+MIPS_INSTRUCTION_SET = "mips"
+
+BBCLASSEXTEND = "native nativesdk"
+