summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/elfutils/elfutils_0.108.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb
index a1f7b2fc5c..67a7596635 100644
--- a/meta/packages/elfutils/elfutils_0.108.bb
+++ b/meta/packages/elfutils/elfutils_0.108.bb
@@ -2,12 +2,25 @@ SECTION = "base"
LICENSE = "OSL"
DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
DEPENDS = "libtool"
+PR = "r1"
SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
file://warnings.patch;patch=1"
inherit autotools
+# Package binaries that overlap with binutils separately
+PACKAGES =+ "${PN}-binutils"
+FILES_${PN}-binutils = "\
+ ${bindir}/addr2line \
+ ${bindir}/ld \
+ ${bindir}/nm \
+ ${bindir}/readelf \
+ ${bindir}/size \
+ ${bindir}/strip"
+# Fix library issues
+FILES_${PN} =+ "${libdir}/*-${PV}.so"
+
SOV = "${PV}"
do_stage () {
install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a