2010-11-18 23:50:32 +00:00
|
|
|
SUMMARY = "A portable foreign function interface library"
|
|
|
|
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."
|
2011-12-01 05:12:32 +00:00
|
|
|
|
|
|
|
LICENSE = "MIT"
|
2014-06-02 16:23:48 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3610bb17683a0089ed64055416b2ae1b"
|
2011-12-01 05:12:32 +00:00
|
|
|
|
2014-06-02 16:23:48 +00:00
|
|
|
SRC_URI = "ftp://sourceware.org/pub/libffi/${BP}.tar.gz \
|
2016-02-04 16:22:50 +00:00
|
|
|
file://not-win32.patch \
|
2015-04-06 17:36:43 +00:00
|
|
|
file://0001-mips-Use-compiler-internal-define-for-linux.patch \
|
2016-09-06 11:32:35 +00:00
|
|
|
file://0001-mips-fix-MIPS-softfloat-build-issue.patch \
|
2015-04-06 17:36:43 +00:00
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2014-12-23 23:56:24 +00:00
|
|
|
SRC_URI[md5sum] = "83b89587607e3eb65c70d361f13bab43"
|
|
|
|
SRC_URI[sha256sum] = "d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37"
|
2011-12-01 05:12:32 +00:00
|
|
|
|
|
|
|
EXTRA_OECONF += "--disable-builddir"
|
2011-09-23 19:46:41 +00:00
|
|
|
|
2014-05-01 20:00:28 +00:00
|
|
|
inherit autotools texinfo
|
2009-05-16 18:33:35 +00:00
|
|
|
|
2011-09-23 19:46:41 +00:00
|
|
|
FILES_${PN}-dev += "${libdir}/libffi-${PV}"
|
2011-12-01 05:12:32 +00:00
|
|
|
|
2016-06-24 10:58:29 +00:00
|
|
|
# Doesn't compile in MIPS16e mode due to use of hand-written
|
|
|
|
# assembly
|
2016-08-19 10:49:02 +00:00
|
|
|
MIPS_INSTRUCTION_SET = "mips"
|
2016-06-24 10:58:29 +00:00
|
|
|
|
2011-10-15 00:47:47 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|