diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-03-01 08:26:05 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-02 12:56:55 +0000 |
commit | 40f8412442ff896ebc30a49e66f6b10f30034095 (patch) | |
tree | 1753ab41c6aae32184dacd0bae29c70f2507bac4 /meta/recipes-devtools/qemu/qemu.inc | |
parent | 52d2947300e693c37006f020f9fc428f200c6bc9 (diff) | |
download | poky-40f8412442ff896ebc30a49e66f6b10f30034095.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 6c44b31ef4..eb60d43344 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -2,8 +2,8 @@ DESCRIPTION = "open source processor emulator" | |||
2 | HOMEPAGE = "http://qemu.org" | 2 | HOMEPAGE = "http://qemu.org" |
3 | LICENSE = "GPLv2 & LGPLv2.1" | 3 | LICENSE = "GPLv2 & LGPLv2.1" |
4 | DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman" | 4 | DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman" |
5 | DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native" | 5 | DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" |
6 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman" | 6 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" |
7 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" | 7 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" |
8 | 8 | ||
9 | require qemu-targets.inc | 9 | require qemu-targets.inc |