summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 310d79fdc5..398f0a0910 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -454,7 +454,8 @@ class BaseConfig(object):
454 self.qemu_opt_script += ' -display gtk' 454 self.qemu_opt_script += ' -display gtk'
455 elif arg == 'gl' or arg == 'gl-es': 455 elif arg == 'gl' or arg == 'gl-es':
456 # These args are handled inside sdl or gtk blocks above 456 # These args are handled inside sdl or gtk blocks above
457 pass 457 if ('gtk' not in sys.argv) and ('sdl' not in sys.argv):
458 raise RunQemuError('Option %s also needs gtk or sdl option.' % (arg))
458 elif arg == 'egl-headless': 459 elif arg == 'egl-headless':
459 self.qemu_opt_script += ' -vga virtio -display egl-headless' 460 self.qemu_opt_script += ' -vga virtio -display egl-headless'
460 # As runqemu can be run within bitbake (when using testimage, for example), 461 # As runqemu can be run within bitbake (when using testimage, for example),