diff options
Diffstat (limited to 'meta/recipes-support/libffi/libffi_3.4.7.bb')
| -rw-r--r-- | meta/recipes-support/libffi/libffi_3.4.7.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/libffi/libffi_3.4.7.bb b/meta/recipes-support/libffi/libffi_3.4.7.bb new file mode 100644 index 0000000000..b2caaa88ba --- /dev/null +++ b/meta/recipes-support/libffi/libffi_3.4.7.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "A portable foreign function interface library" | ||
| 2 | HOMEPAGE = "http://sourceware.org/libffi/" | ||
| 3 | DESCRIPTION = "The `libffi' library provides a portable, high level programming interface to various calling \ | ||
| 4 | conventions. This allows a programmer to call any function specified by a call interface description at run \ | ||
| 5 | time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the \ | ||
| 6 | interface that allows code written in one language to call code written in another language. The `libffi' \ | ||
| 7 | library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. \ | ||
| 8 | A layer must exist above `libffi' that handles type conversions for values passed between the two languages." | ||
| 9 | |||
| 10 | LICENSE = "MIT" | ||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1db54c9fd307a12218766c3c7f650ca7" | ||
| 12 | |||
| 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ | ||
| 14 | file://not-win32.patch \ | ||
| 15 | " | ||
| 16 | SRC_URI[sha256sum] = "138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d" | ||
| 17 | |||
| 18 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" | ||
| 19 | EXTRA_OECONF:class-native += "--with-gcc-arch=generic" | ||
| 20 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" | ||
| 21 | |||
| 22 | inherit autotools texinfo multilib_header github-releases | ||
| 23 | |||
| 24 | do_install:append() { | ||
| 25 | oe_multilib_header ffi.h ffitarget.h | ||
| 26 | } | ||
| 27 | |||
| 28 | # Doesn't compile in MIPS16e mode due to use of hand-written | ||
| 29 | # assembly | ||
| 30 | MIPS_INSTRUCTION_SET = "mips" | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
