From 900420392db750ede745461187e3307d56d96a37 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Fri, 21 Oct 2022 09:53:11 -0500 Subject: 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 Signed-off-by: Alexandre Belloni (cherry picked from commit 718bb8d56f6a24c86e67830a7d13af54df2ebb4e) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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): 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 -- cgit v1.2.3-54-g00ecf