summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/binutils_2.15.90.0.3.oe23
-rw-r--r--oprofile/oprofile-0.8/acinclude.m40
-rw-r--r--oprofile/oprofile_0.8.oe0
3 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
diff --git a/oprofile/oprofile-0.8/acinclude.m4 b/oprofile/oprofile-0.8/acinclude.m4
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/oprofile/oprofile-0.8/acinclude.m4
diff --git a/oprofile/oprofile_0.8.oe b/oprofile/oprofile_0.8.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/oprofile/oprofile_0.8.oe