mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
elfutils: remove eu-objdump if it does not work
[YOCTO #5283] eu-objdump does not work on mips, arm and ppc, so remove it from these unsupported architectures (From OE-Core rev: abf01e2f36943b5a5c5d2d827186054a51902130) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -47,6 +47,12 @@ do_configure_prepend() {
|
|||||||
cp ${WORKDIR}/*dis.h ${S}/libcpu
|
cp ${WORKDIR}/*dis.h ${S}/libcpu
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
if [ "${TARGET_ARCH}" != "x86_64" ] && [ ! `echo "${TARGET_ARCH}"|grep -q 'i.86'` ];then
|
||||||
|
rm ${D}${bindir}/eu-objdump
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# we can not build complete elfutils when using uclibc
|
# we can not build complete elfutils when using uclibc
|
||||||
# but some recipes e.g. gcc 4.5 depends on libelf so we
|
# but some recipes e.g. gcc 4.5 depends on libelf so we
|
||||||
# build only libelf for uclibc case
|
# build only libelf for uclibc case
|
||||||
|
|||||||
Reference in New Issue
Block a user