summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-11-11 15:52:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 16:00:27 +0000
commita6784563ef7874cf37b887bb1949b1ef58d41afd (patch)
tree81928d29f3eadf3817983e79f4574a316d3e0755 /meta/recipes-devtools/elfutils
parent0a08dc750a949627c809a797ecbdd6ee80094849 (diff)
downloadast2050-yocto-poky-a6784563ef7874cf37b887bb1949b1ef58d41afd.zip
ast2050-yocto-poky-a6784563ef7874cf37b887bb1949b1ef58d41afd.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.155.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.155.bb b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
index 1a8c3c7..594dfb0 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.155.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
@@ -47,6 +47,12 @@ do_configure_prepend() {
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
# but some recipes e.g. gcc 4.5 depends on libelf so we
# build only libelf for uclibc case
OpenPOWER on IntegriCloud