mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
not-win32.patch refreshed for 3.4.8 (From OE-Core rev: ca7f1abfba5462a8f09b328c34380e6faeae8b32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.5 KiB
BlitzBasic
33 lines
1.5 KiB
BlitzBasic
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=1db54c9fd307a12218766c3c7f650ca7"
|
|
|
|
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \
|
|
file://not-win32.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "bc9842a18898bfacb0ed1252c4febcc7e78fa139fd27fdc7a3e30d9d9356119b"
|
|
|
|
EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp"
|
|
EXTRA_OECONF:class-native += "--with-gcc-arch=generic"
|
|
EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'"
|
|
|
|
inherit autotools texinfo multilib_header github-releases
|
|
|
|
do_install:append() {
|
|
oe_multilib_header ffi.h ffitarget.h
|
|
}
|
|
|
|
# Doesn't compile in MIPS16e mode due to use of hand-written
|
|
# assembly
|
|
MIPS_INSTRUCTION_SET = "mips"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|