summaryrefslogtreecommitdiffstats
path: root/meta/packages/elfutils
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/packages/elfutils
parent33ee4079a242275ef53be12de6b1e9115096b878 (diff)
downloadpoky-5e3da1b94e20c878a77ce1a166a46e59b1ff9c08.tar.gz
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/packages/elfutils')
-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 += "\
36 36
37inherit autotools 37inherit autotools
38 38
39EXTRA_OECONF = "--program-prefix=eu-"
40
39do_configure_prepend() { 41do_configure_prepend() {
40 sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am 42 sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am
41 43
42 cp ${WORKDIR}/*dis.h ${S}/libcpu 44 cp ${WORKDIR}/*dis.h ${S}/libcpu
43} 45}
44 46
45# Package binaries that overlap with binutils separately 47BBCLASSEXTEND = "native"
48
49# Package utilities separately
46PACKAGES =+ "${PN}-binutils" 50PACKAGES =+ "${PN}-binutils"
47FILES_${PN}-binutils = "\ 51FILES_${PN}-binutils = "\
48 ${bindir}/addr2line \ 52 ${bindir}/eu-addr2line \
49 ${bindir}/ld \ 53 ${bindir}/eu-ld \
50 ${bindir}/nm \ 54 ${bindir}/eu-nm \
51 ${bindir}/readelf \ 55 ${bindir}/eu-readelf \
52 ${bindir}/size \ 56 ${bindir}/eu-size \
53 ${bindir}/strip" 57 ${bindir}/eu-strip"
54# Fix library issues 58# Fix library issues
55FILES_${PN} =+ "${libdir}/*-${PV}.so" 59FILES_${PN} =+ "${libdir}/*-${PV}.so"
56 60