diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2022-10-21 09:53:11 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-11-04 07:55:17 -1000 |
commit | 45356f2ef90e4b67b890ca745513fafa32a469cf (patch) | |
tree | fcad9f5299a02ce5a154a0dbb638eb683fee7b98 /scripts | |
parent | 74911cf7ea703c54920a6c58c344a22a46398b02 (diff) | |
download | openembedded-core-contrib-45356f2ef90e4b67b890ca745513fafa32a469cf.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>
(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>
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 1d63281382..0cce8bb96a 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -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 |