summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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