summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-03-26 14:49:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-26 11:54:10 +0100
commit246438582f8a23ce1847bae230bce07fbb3c6d15 (patch)
tree02f891b63d01017c413823cbcaaf9411e5748c7d /meta/recipes-devtools
parent04a08bf7e8d7cf4b6b844a88173b5d1d7917c8af (diff)
downloadopenembedded-core-246438582f8a23ce1847bae230bce07fbb3c6d15.tar.gz
openembedded-core-246438582f8a23ce1847bae230bce07fbb3c6d15.tar.bz2
openembedded-core-246438582f8a23ce1847bae230bce07fbb3c6d15.zip
qemu: add fedora pkg names when build failed
When qemu build failed, we can see such messages: You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native. Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev These pkgs have different names on Fedora distributions, and Fedora is one the main linux distributions, so add Fedora package names. The following Fedora versions have these pkgs: Fedora 9 64bit Fedora 13 32bit Fedora 13 64bit Fedora 16 64bit [YOCTO #2174] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 307a205cdc..8dee060338 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -33,7 +33,8 @@ do_configure_prepend_virtclass-native() {
if [ "$libsdl" != 'yes' -o "$libgl" != 'yes' ]; then
echo "You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.
- Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev"
+ Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev.
+ Fedora package names are: mesa-libGL mesa-libGLU SDL-devel."
exit 1;
fi
}