diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-gnome/libffi | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-gnome/libffi')
-rw-r--r-- | meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch | 18 | ||||
-rw-r--r-- | meta/recipes-gnome/libffi/libffi_3.1.bb | 24 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch new file mode 100644 index 0000000000..0a49ab5020 --- /dev/null +++ b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | Upstream-Status: Inaproppriate | ||
3 | |||
4 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
5 | |||
6 | Index: libffi-3.0.13/Makefile.am | ||
7 | =================================================================== | ||
8 | --- libffi-3.0.13.orig/Makefile.am | ||
9 | +++ libffi-3.0.13/Makefile.am | ||
10 | @@ -98,7 +98,7 @@ FLAGS_TO_PASS = $(AM_MAKEFLAGS) | ||
11 | |||
12 | MAKEOVERRIDES= | ||
13 | |||
14 | -toolexeclib_LTLIBRARIES = libffi.la | ||
15 | +lib_LTLIBRARIES = libffi.la | ||
16 | noinst_LTLIBRARIES = libffi_convenience.la | ||
17 | |||
18 | libffi_la_SOURCES = src/prep_cif.c src/types.c \ | ||
diff --git a/meta/recipes-gnome/libffi/libffi_3.1.bb b/meta/recipes-gnome/libffi/libffi_3.1.bb new file mode 100644 index 0000000000..bc97aba20b --- /dev/null +++ b/meta/recipes-gnome/libffi/libffi_3.1.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "A portable foreign function interface library" | ||
2 | DESCRIPTION = "The `libffi' library provides a portable, high level programming interface to various calling \ | ||
3 | conventions. This allows a programmer to call any function specified by a call interface description at run \ | ||
4 | time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the \ | ||
5 | interface that allows code written in one language to call code written in another language. The `libffi' \ | ||
6 | library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. \ | ||
7 | A layer must exist above `libffi' that handles type conversions for values passed between the two languages." | ||
8 | |||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3610bb17683a0089ed64055416b2ae1b" | ||
11 | |||
12 | SRC_URI = "ftp://sourceware.org/pub/libffi/${BP}.tar.gz \ | ||
13 | file://fix-libffi.la-location.patch" | ||
14 | |||
15 | SRC_URI[md5sum] = "f5898b29bbfd70502831a212d9249d10" | ||
16 | SRC_URI[sha256sum] = "97feeeadca5e21870fa4433bc953d1b3af3f698d5df8a428f68b73cd60aef6eb" | ||
17 | |||
18 | EXTRA_OECONF += "--disable-builddir" | ||
19 | |||
20 | inherit autotools texinfo | ||
21 | |||
22 | FILES_${PN}-dev += "${libdir}/libffi-${PV}" | ||
23 | |||
24 | BBCLASSEXTEND = "native nativesdk" | ||