From 0614a41dad1e372f02b102b81fe4c1b982ec243b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 16 Jun 2004 20:15:16 +0000 Subject: Merge openembedded@openembedded.bkbits.net:packages into zelda.tuxnami.org:/home/kergoth/code/packages 2004/06/16 14:59:36-05:00 (none)!kergoth Add oprofile 0.8 (a system-wide profiler for Linux systems, this .oe is for the userspace apps only). 2004/06/16 14:58:48-05:00 (none)!kergoth In binutils, enable shared versions of bfd and opcodes, package them, and add a do_stage function. BKrev: 40d0aa54CbdlMeWnUW9zt8JoBntQAw --- binutils/binutils_2.15.90.0.3.oe | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'binutils') diff --git a/binutils/binutils_2.15.90.0.3.oe b/binutils/binutils_2.15.90.0.3.oe index b074c07206..d75da80127 100644 --- a/binutils/binutils_2.15.90.0.3.oe +++ b/binutils/binutils_2.15.90.0.3.oe @@ -7,11 +7,15 @@ MAINTAINER = "Gerald Britton " PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" FILES_${PN} = " \ - ${bindir}/${TARGET_PREFIX}*" + ${bindir}/${TARGET_PREFIX}* \ + ${libdir}/lib*-*.so" FILES_${PN}-dev = " \ ${includedir} \ - ${libdir}/*.a" + ${libdir}/*.a \ + ${libdir}/*.la \ + ${libdir}/libbfd.so \ + ${libdir}/libopcodes.so" FILES_${PN}-symlinks = " \ ${bindir}/addr2line \ @@ -44,7 +48,8 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" EXTRA_OECONF = "--with-sysroot=${prefix} \ --disable-nls \ - --program-prefix=${TARGET_PREFIX}" + --program-prefix=${TARGET_PREFIX} \ + --enable-shared" # This is necessary due to a bug in the binutils Makefiles EXTRA_OEMAKE = "configure-build-libiberty all" @@ -75,6 +80,18 @@ do_configure () { oe_runconf } +do_stage () { + oe_libinstall -so -a -C opcodes libopcodes ${STAGING_LIBDIR}/ + oe_libinstall -a -C libiberty libiberty ${STAGING_LIBDIR}/ + oe_libinstall -so -a -C bfd libbfd ${STAGING_LIBDIR}/ + install -m 0644 ${S}/include/dis-asm.h ${STAGING_INCDIR}/ + install -m 0644 ${S}/include/symcat.h ${STAGING_INCDIR}/ + install -m 0644 ${S}/include/libiberty.h ${STAGING_INCDIR}/ + install -m 0644 ${S}/include/ansidecl.h ${STAGING_INCDIR}/ + install -m 0644 ${S}/include/bfdlink.h ${STAGING_INCDIR}/ + install -m 0644 bfd/bfd.h ${STAGING_INCDIR}/ +} + do_install () { autotools_do_install -- cgit 1.2.3-korg