summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-08-07 23:30:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-11 19:22:06 +0100
commit0350be945877b61eb8125663887fd7ed1c3923ab (patch)
tree406d94931b1f2e1f04d3ce68db89b42dfec82aaf
parente8ca7c90467683006f612a06010e662e58768fb4 (diff)
downloadpoky-0350be945877b61eb8125663887fd7ed1c3923ab.tar.gz
scripts/runqemu: Make it run on ubuntu 11.10
location of libGL has moved in ubuntu 11.10 so we look for it in the new locations (From OE-Core rev: 8d80918995a15663db7cc9c0683d45ee8ba7d45c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 9611c6412e..2b8e88a47d 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -388,6 +388,7 @@ libgl='no'
388 388
389test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' 389test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
390test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' 390test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
391test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes'
391 392
392if [ "$libgl" != 'yes' ]; then 393if [ "$libgl" != 'yes' ]; then
393 echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator. 394 echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.