]> code.ossystems Code Review - openembedded-core.git/commit
elfutils: remove i386_dis.h/x86_64_dis.h compilation targets
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 28 Mar 2013 13:51:58 +0000 (15:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Mar 2013 10:40:18 +0000 (10:40 +0000)
commita4ebe0f6efc8ed93521e75919f23821f59934c1f
tree898ae9460cca49d370c21b9f5cfc0e6f55f50b19
parent108bae276fe7e462378073207a3bdca7326f8e57
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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.148.bb