aboutsummaryrefslogtreecommitdiff
path: root/scripts/meson-buildoptions.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-10-16 08:18:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-18 10:01:02 +0200
commitc36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865 (patch)
treeba40030765236102e243dd8dbe472c0bc7f6edd4 /scripts/meson-buildoptions.py
parent050b439887edbbd1b07b94111ffdffbc817e97cf (diff)
downloadqemu-c36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865.zip
qemu-c36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865.tar.gz
qemu-c36dd41ba2a8bd8d51f4f7499fbdc02b1bd5c865.tar.bz2
configure: move target-specific defaults to an external machine file
Enable Windows-specific defaults with a machine file, so that related options can be automatically parsed and included in the help message. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/meson-buildoptions.py')
-rw-r--r--scripts/meson-buildoptions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/meson-buildoptions.py b/scripts/meson-buildoptions.py
index b787c84..0c24bdc 100644
--- a/scripts/meson-buildoptions.py
+++ b/scripts/meson-buildoptions.py
@@ -28,7 +28,6 @@ import sys
SKIP_OPTIONS = {
"default_devices",
"fuzzing_engine",
- "qemu_suffix",
"smbd",
}
@@ -40,6 +39,7 @@ OPTION_NAMES = {
"malloc": "enable-malloc",
"pkgversion": "with-pkgversion",
"qemu_firmwarepath": "firmwarepath",
+ "qemu_suffix": "with-suffix",
"trace_backends": "enable-trace-backends",
"trace_file": "with-trace-file",
}
@@ -52,6 +52,7 @@ AUTO_OPTIONS = {
BUILTIN_OPTIONS = {
"b_coverage",
"b_lto",
+ "bindir",
"datadir",
"debug",
"includedir",
@@ -60,6 +61,7 @@ BUILTIN_OPTIONS = {
"localedir",
"localstatedir",
"mandir",
+ "prefix",
"strip",
"sysconfdir",
}