aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libffi/libffi_2.0+gcc3.4.1.bb
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-11-19 10:01:25 +0000
committerGraeme Gregory <dp@xora.org.uk>2011-01-02 10:05:41 +0000
commit794d09ffc47da707f2d4d1ead1665803e19722c3 (patch)
treea984eea60c26a214220d6b8cd8f067c1d5cc593a /recipes/libffi/libffi_2.0+gcc3.4.1.bb
parentc320c09ee13f587b7466fd7cc7a6b23b7e0f0863 (diff)
downloadopenembedded-794d09ffc47da707f2d4d1ead1665803e19722c3.tar.gz
libffi_3.0.9.bb : add a BBCLASSEXTEND version of latest libffi
Initially taken from poky with changes required for OE. Poky recipe is much simpler than the ones we have in OE and it seems we have a lot of historic that is no longer needed. Acked-by: Khem Raj <raj.khemi@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeksi@gmail.com>
Diffstat (limited to 'recipes/libffi/libffi_2.0+gcc3.4.1.bb')
-rw-r--r--recipes/libffi/libffi_2.0+gcc3.4.1.bb68
1 files changed, 0 insertions, 68 deletions
diff --git a/recipes/libffi/libffi_2.0+gcc3.4.1.bb b/recipes/libffi/libffi_2.0+gcc3.4.1.bb
deleted file mode 100644
index ceb46b18fc..0000000000
--- a/recipes/libffi/libffi_2.0+gcc3.4.1.bb
+++ /dev/null
@@ -1,68 +0,0 @@
-SECTION = "libs"
-DESCRIPTION = "Foreign Function Interface library"
-LICENSE = "libffi"
-PRIORITY = "optional"
-PR = "r1"
-
-inherit autotools gettext
-
-PACKAGES = "${PN}-dbg ${PN} ${PN}-dev"
-
-FILES_${PN} = "${libdir}/libffi.so.*"
-
-FILES_${PN}-dev = "${includedir}/ffi* \
- ${libdir}/libffi.a \
- ${libdir}/libffi.la \
- ${libdir}/libffi.so"
-
-GCC_VER = "${@bb.data.getVar('PV',d,1).split('gcc')[1]}"
-
-SRC_URI = "${GNU_MIRROR}/gcc/gcc-${GCC_VER}/gcc-${GCC_VER}.tar.bz2 \
- file://soname.patch"
-
-MIRRORS_prepend () {
-${GNU_MIRROR}/gcc/ http://gcc.get-software.com/releases/
-${GNU_MIRROR}/gcc/ http://mirrors.rcn.net/pub/sourceware/gcc/releases/
-}
-
-S = "${WORKDIR}/gcc-${GCC_VER}/libffi"
-B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-
-EXTRA_OECONF = "--with-gnu-ld \
- --enable-shared \
- --enable-target-optspace \
- --enable-languages=c,c++,f77 \
- --enable-threads=posix \
- --enable-multilib \
- --enable-c99 \
- --enable-long-long \
- --enable-symvers=gnu \
- --program-prefix=${TARGET_PREFIX} \
- ${EXTRA_OECONF_PATHS}"
-
-EXTRA_OECONF_PATHS = "--with-local-prefix=${prefix}/local \
- --with-gxx-include-dir=${includedir}/c++/${PV}"
-
-do_configure () {
- (cd ${S}/.. && gnu-configize) || die "failure running gnu-configize"
- oe_runconf
-}
-
-do_install_append() {
- # follow debian and move this to $includedir
- mv ${D}${libdir}/gcc/${TARGET_SYS}/${GCC_VER}/include/libffi/ffitarget.h ${D}${includedir}/
-}
-
-ffi_include = "ffi.h ffitarget.h"
-
-do_stage () {
- oe_libinstall -so -C .libs libffi ${STAGING_LIBDIR}
-
- mkdir -p ${STAGING_INCDIR}/
- for i in ${ffi_include}; do
- install -m 0644 include/$i ${STAGING_INCDIR}/
- done
-}
-
-SRC_URI[md5sum] = "31b459062499f9f68d451db9cbf3205c"
-SRC_URI[sha256sum] = "5f3685533f8dc4b42b926fe70bb371b31e1368223a0ad7398ba27ea3a20e8e7a"