summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1a8c3c7e8c..594dfb09ea 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() {
47 cp ${WORKDIR}/*dis.h ${S}/libcpu 47 cp ${WORKDIR}/*dis.h ${S}/libcpu
48} 48}
49 49
50do_install_append() {
51 if [ "${TARGET_ARCH}" != "x86_64" ] && [ ! `echo "${TARGET_ARCH}"|grep -q 'i.86'` ];then
52 rm ${D}${bindir}/eu-objdump
53 fi
54}
55
50# we can not build complete elfutils when using uclibc 56# we can not build complete elfutils when using uclibc
51# but some recipes e.g. gcc 4.5 depends on libelf so we 57# but some recipes e.g. gcc 4.5 depends on libelf so we
52# build only libelf for uclibc case 58# build only libelf for uclibc case