summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-10 00:14:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:43 +0100
commitaf3f87c0716767e94c248ef6a77fab15c5d895d2 (patch)
treeaa69d91ef8c2302f348ad8d1bce43d5c9b41e44a /meta/recipes-devtools/elfutils
parent4a32362c0d9af6208dbb318b74585eac4b336f0a (diff)
downloadpoky-af3f87c0716767e94c248ef6a77fab15c5d895d2.tar.gz
elfutils 0.163: remove do_configure_prepend
It is derived from elfutils 0.148, but 0.162 doesn't need them, it doesn't need i386_dis.h or x86_64_dis.h either, there are the same two files in the source, so move elfutils/i386_dis.h to elfutils-0.148/i386_dis.h and elfutils/x86_64_dis.h to elfutils-0.148/x86_64_dis.h for elfutils 0.148 only. (From OE-Core rev: f960c02620941493b99769cf31f426421d3969fb) Signed-off-by: Robert Yang <liezhi.yang@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.148/i386_dis.h (renamed from meta/recipes-devtools/elfutils/elfutils/i386_dis.h)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.148/x86_64_dis.h (renamed from meta/recipes-devtools/elfutils/elfutils/x86_64_dis.h)0
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.163.bb10
3 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils/i386_dis.h b/meta/recipes-devtools/elfutils/elfutils-0.148/i386_dis.h
index a5cc01f919..a5cc01f919 100644
--- a/meta/recipes-devtools/elfutils/elfutils/i386_dis.h
+++ b/meta/recipes-devtools/elfutils/elfutils-0.148/i386_dis.h
diff --git a/meta/recipes-devtools/elfutils/elfutils/x86_64_dis.h b/meta/recipes-devtools/elfutils/elfutils-0.148/x86_64_dis.h
index a0198bed97..a0198bed97 100644
--- a/meta/recipes-devtools/elfutils/elfutils/x86_64_dis.h
+++ b/meta/recipes-devtools/elfutils/elfutils-0.148/x86_64_dis.h
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.163.bb b/meta/recipes-devtools/elfutils/elfutils_0.163.bb
index b34bfdd4b9..c4fdabdb31 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.163.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.163.bb
@@ -42,22 +42,12 @@ SRC_URI_append_libc-uclibc = " file://uclibc-support-for-elfutils-0.161.patch"
42# which can not pass the cross compiling, so let's work around it by adding 2 .h files 42# which can not pass the cross compiling, so let's work around it by adding 2 .h files
43# along with the do_configure_prepend() 43# along with the do_configure_prepend()
44 44
45SRC_URI += "\
46 file://i386_dis.h \
47 file://x86_64_dis.h \
48"
49inherit autotools gettext 45inherit autotools gettext
50 46
51EXTRA_OECONF = "--program-prefix=eu- --without-lzma" 47EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
52EXTRA_OECONF_append_class-native = " --without-bzlib" 48EXTRA_OECONF_append_class-native = " --without-bzlib"
53EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc" 49EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
54 50
55do_configure_prepend() {
56 sed -i '/^i386_dis.h:/,+4 {/.*/d}' ${S}/libcpu/Makefile.am
57
58 cp ${WORKDIR}/*dis.h ${S}/libcpu
59}
60
61do_install_append() { 51do_install_append() {
62 if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then 52 if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then
63 rm ${D}${bindir}/eu-objdump 53 rm ${D}${bindir}/eu-objdump