summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2022-02-11 10:01:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-02-13 10:24:30 +0100
commite320b36fb6d04abd3eb90befa0fbd2cd23fe5853 (patch)
tree62786630d7382f3811a19f99acb4c84b04337729 /scripts
parent4283cca2e5f002c0d6a35a7ddf522420ecb5c11b (diff)
downloadptxdist-e320b36fb6d04abd3eb90befa0fbd2cd23fe5853.tar.gz
ptxdist-e320b36fb6d04abd3eb90befa0fbd2cd23fe5853.tar.xz
configure_helper: improve qemu handling
There already is some code to parse to options for host-qemu. Use that for qemu as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/configure_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configure_helper.py b/scripts/configure_helper.py
index c6daf6b6c..17be626a5 100755
--- a/scripts/configure_helper.py
+++ b/scripts/configure_helper.py
@@ -360,7 +360,7 @@ def handle_dir_configure(d, configure):
continue
if word[:2] == "--":
configure_args.append(word)
- elif ptx_pkg == "host-qemu" and re.match(" [a-z].*", line):
+ elif ptx_pkg in ("host-qemu", "qemu") and re.match(" [a-z].*", line):
configure_args.append("--enable-" + word)
parsed = parse_configure_args(configure_args, configure_blacklist)