1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 13:49:49 +00:00

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: dd1dcfada1fa46ecb8227c2852769b35026875d3)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2022-10-21 09:53:11 -05:00
committed by Richard Purdie
parent 03f1b28c6d
commit 900420392d
+1 -1
View File
@@ -499,7 +499,7 @@ class BaseConfig(object):
self.gtk = True
elif arg == 'gl':
self.gl = True
elif 'gl-es' in sys.argv[1:]:
elif arg == 'gl-es':
self.gl_es = True
elif arg == 'egl-headless':
self.egl_headless = True