summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mhatle@windriver.com>2010-07-23 08:13:45 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-24 01:23:53 +0100
commit5e3da1b94e20c878a77ce1a166a46e59b1ff9c08 (patch)
tree5d0ca460c650ae54dc3e6927315913940b3aa43b /meta
parent33ee4079a242275ef53be12de6b1e9115096b878 (diff)
downloadopenembedded-core-5e3da1b94e20c878a77ce1a166a46e59b1ff9c08.tar.gz
openembedded-core-5e3da1b94e20c878a77ce1a166a46e59b1ff9c08.tar.bz2
openembedded-core-5e3da1b94e20c878a77ce1a166a46e59b1ff9c08.zip
elfutils: add elfutils native
Add elfutils native, also change the binaries being installed to be prefixed with 'eu-' to avoid conflict with binutils Signed-off-by: Mark Hatle <mhatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/elfutils/elfutils_0.148.bb18
1 files changed, 11 insertions, 7 deletions
diff --git a/meta/packages/elfutils/elfutils_0.148.bb b/meta/packages/elfutils/elfutils_0.148.bb
index 15aa504794..0d460e06be 100644
--- a/meta/packages/elfutils/elfutils_0.148.bb
+++ b/meta/packages/elfutils/elfutils_0.148.bb
@@ -36,21 +36,25 @@ SRC_URI += "\
inherit autotools
+EXTRA_OECONF = "--program-prefix=eu-"
+
do_configure_prepend() {
sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am
cp ${WORKDIR}/*dis.h ${S}/libcpu
}
-# Package binaries that overlap with binutils separately
+BBCLASSEXTEND = "native"
+
+# Package utilities separately
PACKAGES =+ "${PN}-binutils"
FILES_${PN}-binutils = "\
- ${bindir}/addr2line \
- ${bindir}/ld \
- ${bindir}/nm \
- ${bindir}/readelf \
- ${bindir}/size \
- ${bindir}/strip"
+ ${bindir}/eu-addr2line \
+ ${bindir}/eu-ld \
+ ${bindir}/eu-nm \
+ ${bindir}/eu-readelf \
+ ${bindir}/eu-size \
+ ${bindir}/eu-strip"
# Fix library issues
FILES_${PN} =+ "${libdir}/*-${PV}.so"