diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2022-10-21 09:53:11 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-04 23:31:49 +0000 |
commit | 900420392db750ede745461187e3307d56d96a37 (patch) | |
tree | 9ab861140ead2f97b24571dcdd68b3186f232ece /scripts | |
parent | 03f1b28c6d54c9cd0a19f9938bcd63704e72f163 (diff) | |
download | poky-900420392db750ede745461187e3307d56d96a37.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: 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>
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 5daf492bac..a6ea578564 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 |