From 5e3da1b94e20c878a77ce1a166a46e59b1ff9c08 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 23 Jul 2010 08:13:45 -0700 Subject: 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 --- meta/packages/elfutils/elfutils_0.148.bb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'meta/packages') diff --git a/meta/packages/elfutils/elfutils_0.148.bb b/meta/packages/elfutils/elfutils_0.148.bb index 15aa50479..0d460e06b 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" -- cgit v1.2.3