summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-10 10:07:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:53:56 +0100
commit9e5bce826abe2e50dd7395c2b26d84fe0edaf45c (patch)
treef3373821e5c8c3923a8125fa193f98d65a906106 /scripts/runqemu
parente21c59e020bd16d8f3395dd9a9c7d1431c495771 (diff)
downloadast2050-yocto-poky-9e5bce826abe2e50dd7395c2b26d84fe0edaf45c.zip
ast2050-yocto-poky-9e5bce826abe2e50dd7395c2b26d84fe0edaf45c.tar.gz
runqemu: Fix running qemu when build without gl
When gl is disabled in PACKAGECONFIG then we dont need to check for supporting libs to be present before running qemu. (From OE-Core rev: 6612873dc59054e6d37fa7488226218bfb759127) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 650d1df..7454dd4 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -387,20 +387,6 @@ echo "FSTYPE: [$FSTYPE]"
setup_sysroot
# OECORE_NATIVE_SYSROOT is now set for all cases
-# We can't run without a libGL.so
-libgl='no'
-
-[ -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so ] && libgl='yes'
-[ -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so ] && libgl='yes'
-[ -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so ] && libgl='yes'
-
-if [ "$libgl" != 'yes' ]; then
- echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
- Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev.
- Fedora package names are: mesa-libGL-devel mesa-libGLU-devel."
- exit 1;
-fi
-
INTERNAL_SCRIPT="$0-internal"
if [ ! -f "$INTERNAL_SCRIPT" -o ! -r "$INTERNAL_SCRIPT" ]; then
INTERNAL_SCRIPT=`which runqemu-internal`
OpenPOWER on IntegriCloud