diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2022-10-21 09:53:11 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:26:17 +0100 |
commit | 718bb8d56f6a24c86e67830a7d13af54df2ebb4e (patch) | |
tree | 9a7d486c3094134e4481462eb6c9a3d65feac2b7 /scripts | |
parent | 9102e5a94b8146cb1da27afbe41d3db999a914ff (diff) | |
download | openembedded-core-contrib-718bb8d56f6a24c86e67830a7d13af54df2ebb4e.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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 983f7514c7..189fc3da91 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -497,7 +497,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 |