diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-03-28 15:51:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:40:56 +0000 |
commit | 688c4e84623369199baaf821430373ce28ecb66a (patch) | |
tree | 783cbfc3c8407a92eb6cf69f243d69e182e487bd /meta | |
parent | 1e82bc1be1480c9f780944cc816ab05361ac0fb3 (diff) | |
download | poky-688c4e84623369199baaf821430373ce28ecb66a.tar.gz |
elfutils: remove i386_dis.h/x86_64_dis.h compilation targets
Since we provide those files manually (i386_gendis, which is needed for
generating those files, has to be run on host and would fail when
compiling for other architectures), the mentioned compilation targets
in libcpu/ are not needed anymore.
This change will avoid a nasty race condition when running "make -jX
install" resulting in a zero size libebl_i386.so file. The issue happens
because, at "make install" time, the *_dis.h prerequisites will be newer
than the target itself, triggering a chain of recompilations while, in
the same time, the binary files are copied to the destination directory.
Hence, the zero sized file...
[YOCTO #4131]
(From OE-Core rev: a4ebe0f6efc8ed93521e75919f23821f59934c1f)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.148.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb index e8d58fbde5..9c0a08eafa 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb | |||
@@ -52,7 +52,7 @@ EXTRA_OECONF_append_class-native = " --without-bzlib" | |||
52 | EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc" | 52 | EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc" |
53 | 53 | ||
54 | do_configure_prepend() { | 54 | do_configure_prepend() { |
55 | sed -i 's:./i386_gendis:echo\ \#:g' ${S}/libcpu/Makefile.am | 55 | sed -i '/^i386_dis.h:/,+4 {/.*/d}' ${S}/libcpu/Makefile.am |
56 | 56 | ||
57 | cp ${WORKDIR}/*dis.h ${S}/libcpu | 57 | cp ${WORKDIR}/*dis.h ${S}/libcpu |
58 | } | 58 | } |