[oe-commits] Robert Yang : elfutils 0.163: remove do_configure_prepend

git at git.openembedded.org git at git.openembedded.org
Fri Jul 10 14:12:08 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: a1fecdad584e1ceb1402efc2a0c26fe20df4b54b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a1fecdad584e1ceb1402efc2a0c26fe20df4b54b

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Fri Jul 10 00:14:47 2015 -0700

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.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../elfutils/{elfutils => elfutils-0.148}/i386_dis.h           |  0
 .../elfutils/{elfutils => elfutils-0.148}/x86_64_dis.h         |  0
 meta/recipes-devtools/elfutils/elfutils_0.163.bb               | 10 ----------
 3 files changed, 10 deletions(-)

diff --git a/meta/recipes-devtools/elfutils/elfutils/i386_dis.h b/meta/recipes-devtools/elfutils/elfutils-0.148/i386_dis.h
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils/i386_dis.h
rename to 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
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils/x86_64_dis.h
rename to 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 b34bfdd..c4fdabd 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"
 # which can not pass the cross compiling, so let's work around it by adding 2 .h files
 # along with the do_configure_prepend()
 
-SRC_URI += "\
-        file://i386_dis.h \
-        file://x86_64_dis.h \
-"
 inherit autotools gettext
 
 EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
 EXTRA_OECONF_append_class-native = " --without-bzlib"
 EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
 
-do_configure_prepend() {
-	sed -i '/^i386_dis.h:/,+4 {/.*/d}' ${S}/libcpu/Makefile.am
-
-	cp ${WORKDIR}/*dis.h ${S}/libcpu
-}
-
 do_install_append() {
 	if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then
 		rm ${D}${bindir}/eu-objdump



More information about the Openembedded-commits mailing list