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:28:39 +0100 |
commit | 0cc7ac200d8c8bbdb6b5ed037ab2cd705338d446 (patch) | |
tree | 2cb70a266421b4db709d3f957143a0ec761dc046 /scripts | |
parent | 9ba58ee035fa23957492dc93863f0e163cf66bfe (diff) | |
download | poky-0cc7ac200d8c8bbdb6b5ed037ab2cd705338d446.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: 718bb8d56f6a24c86e67830a7d13af54df2ebb4e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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 983f7514c7..189fc3da91 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -497,7 +497,7 @@ class BaseConfig(object): | |||
497 | self.gtk = True | 497 | self.gtk = True |
498 | elif arg == 'gl': | 498 | elif arg == 'gl': |
499 | self.gl = True | 499 | self.gl = True |
500 | elif 'gl-es' in sys.argv[1:]: | 500 | elif arg == 'gl-es': |
501 | self.gl_es = True | 501 | self.gl_es = True |
502 | elif arg == 'egl-headless': | 502 | elif arg == 'egl-headless': |
503 | self.egl_headless = True | 503 | self.egl_headless = True |