diff options
author | Mark Hatle <mhatle@windriver.com> | 2010-07-23 08:13:45 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-24 01:23:53 +0100 |
commit | 5e3da1b94e20c878a77ce1a166a46e59b1ff9c08 (patch) | |
tree | 5d0ca460c650ae54dc3e6927315913940b3aa43b | |
parent | 33ee4079a242275ef53be12de6b1e9115096b878 (diff) | |
download | poky-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>
-rw-r--r-- | meta/packages/elfutils/elfutils_0.148.bb | 18 |
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 | ||
37 | inherit autotools | 37 | inherit autotools |
38 | 38 | ||
39 | EXTRA_OECONF = "--program-prefix=eu-" | ||
40 | |||
39 | do_configure_prepend() { | 41 | do_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 | 47 | BBCLASSEXTEND = "native" |
48 | |||
49 | # Package utilities separately | ||
46 | PACKAGES =+ "${PN}-binutils" | 50 | PACKAGES =+ "${PN}-binutils" |
47 | FILES_${PN}-binutils = "\ | 51 | FILES_${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 |
55 | FILES_${PN} =+ "${libdir}/*-${PV}.so" | 59 | FILES_${PN} =+ "${libdir}/*-${PV}.so" |
56 | 60 | ||