summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2022-10-21 09:53:11 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-09 17:42:08 +0000
commit67b2d0267a50d7e87e2f24aa3ea61a63bc560f66 (patch)
tree520ea4838fdd3f5b2614ac13771c82dccc52b82e /scripts/runqemu
parentb9f2ebe163a2f12a9a2f24e02ba64f66c86be21e (diff)
downloadpoky-67b2d0267a50d7e87e2f24aa3ea61a63bc560f66.tar.gz
runqemu: Fix gl-es argument from causing other arguments to be ignored
The code to parse arguments was inadvertently skipping all arguments in the elif block after gl-es if it was specified on the command line. (From OE-Core rev: 45356f2ef90e4b67b890ca745513fafa32a469cf) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 718bb8d56f6a24c86e67830a7d13af54df2ebb4e) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit dd1dcfada1fa46ecb8227c2852769b35026875d3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 1d63281382..0cce8bb96a 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -499,7 +499,7 @@ class BaseConfig(object):
499 self.gtk = True 499 self.gtk = True
500 elif arg == 'gl': 500 elif arg == 'gl':
501 self.gl = True 501 self.gl = True
502 elif 'gl-es' in sys.argv[1:]: 502 elif arg == 'gl-es':
503 self.gl_es = True 503 self.gl_es = True
504 elif arg == 'egl-headless': 504 elif arg == 'egl-headless':
505 self.egl_headless = True 505 self.egl_headless = True