From 75e79f55637e59ed3c1e1aee3a3582de95b63d90 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 1 Nov 2012 13:35:11 +1000 Subject: libffi: Added recipe to use internal libffi git repository * Internal libffi repository supports microblaze/microblazeel Signed-off-by: Nathan Rossi --- recipes-gnome/libffi/libffi_git.bb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 recipes-gnome/libffi/libffi_git.bb diff --git a/recipes-gnome/libffi/libffi_git.bb b/recipes-gnome/libffi/libffi_git.bb new file mode 100755 index 00000000..719a93f3 --- /dev/null +++ b/recipes-gnome/libffi/libffi_git.bb @@ -0,0 +1,34 @@ +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." + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e54c573c49435ccbbd3f6dc9e49a065e" + +S = "${WORKDIR}/git" +PR = "r0" + +BRANCH = "microblaze-support-rebase" +SRC_URI = "git://developer.petalogix.com/petalogix/internal/git/private/dev/nrossi/libffi;protocol=ssh;branch=${BRANCH}" + +SRCREV="${AUTOREV}" + +EXTRA_OECONF += "--disable-builddir" + +inherit autotools + +FILES_${PN}-dev += "${libdir}/libffi-${PV}" + +BBCLASSEXTEND = "native nativesdk" + +autotools_do_configure() { + if [ -e ${S}/configure ]; then + oe_runconf + else + bbnote "nothing to configure" + fi +} -- cgit v1.2.3-54-g00ecf