qemu.inc: Non deterministic compile of qemu
authorJason Wessel <jason.wessel@windriver.com>
Fri, 1 Mar 2013 14:26:05 +0000 (08:26 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 12:56:55 +0000 (12:56 +0000)
commita61850df9bfd0ac6c330a70f2b930eb3e64033d4
treedec150a5de33afff09076bd8d9ba6fb2cbe79022
parentb409691441c1cb2f60a96c37a4511ad3abe54a1f
qemu.inc: Non deterministic compile of qemu

When you using a qemuppc target and sstate you might end up with
the problem:

qemu-system-ppc: error while loading shared libraries:
   libfdt.so.1: cannot open shared object file: No such file or directory

The way you can force this to happen assuming you are using sstate is
as follows:

bitbake dtc-native
bitbake -c cleansstate qemu-native
bitbake qemu-native
bitbake -c clean dtc-native

Now go start qemu and it will fail.  The solution is to always build
the dtc libraries since they are used and needed by the qemuppc
simulator.

(From OE-Core rev: 79c620016b0be4dacc9fcfbd4baab5ea6c66a440)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc