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>
This commit is contained in:
parent
33ee4079a2
commit
5e3da1b94e
|
@ -36,21 +36,25 @@ SRC_URI += "\
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
|
EXTRA_OECONF = "--program-prefix=eu-"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am
|
sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am
|
||||||
|
|
||||||
cp ${WORKDIR}/*dis.h ${S}/libcpu
|
cp ${WORKDIR}/*dis.h ${S}/libcpu
|
||||||
}
|
}
|
||||||
|
|
||||||
# Package binaries that overlap with binutils separately
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
# Package utilities separately
|
||||||
PACKAGES =+ "${PN}-binutils"
|
PACKAGES =+ "${PN}-binutils"
|
||||||
FILES_${PN}-binutils = "\
|
FILES_${PN}-binutils = "\
|
||||||
${bindir}/addr2line \
|
${bindir}/eu-addr2line \
|
||||||
${bindir}/ld \
|
${bindir}/eu-ld \
|
||||||
${bindir}/nm \
|
${bindir}/eu-nm \
|
||||||
${bindir}/readelf \
|
${bindir}/eu-readelf \
|
||||||
${bindir}/size \
|
${bindir}/eu-size \
|
||||||
${bindir}/strip"
|
${bindir}/eu-strip"
|
||||||
# Fix library issues
|
# Fix library issues
|
||||||
FILES_${PN} =+ "${libdir}/*-${PV}.so"
|
FILES_${PN} =+ "${libdir}/*-${PV}.so"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue