diff options
author | Chris Larson <clarson@kergoth.com> | 2004-06-16 20:15:16 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-06-16 20:15:16 +0000 |
commit | 0614a41dad1e372f02b102b81fe4c1b982ec243b (patch) | |
tree | 61bc9d051f15418fd219fbd65100fd5d863d0d40 /binutils/binutils_2.15.90.0.3.oe | |
parent | 09e52ddd4ffb976a37c5d22288b14545e34501d5 (diff) |
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
Diffstat (limited to 'binutils/binutils_2.15.90.0.3.oe')
-rw-r--r-- | binutils/binutils_2.15.90.0.3.oe | 23 |
1 files changed, 20 insertions, 3 deletions
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 <gbritton@doomcom.org>" 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 |