diff options
author | Paolo Bonzini | 2022-04-20 17:33:57 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-05-07 07:46:58 +0200 |
commit | c09c1ce7e9507f8421b01076e1ed94b4c51d8f53 (patch) | |
tree | 344fa42cd48a068d3d81168e61b81468b7202887 /scripts/meson-buildoptions.py | |
parent | meson: always combine directories with prefix (diff) | |
download | qemu-c09c1ce7e9507f8421b01076e1ed94b4c51d8f53.tar.gz qemu-c09c1ce7e9507f8421b01076e1ed94b4c51d8f53.tar.xz qemu-c09c1ce7e9507f8421b01076e1ed94b4c51d8f53.zip |
configure: switch directory options to automatic parsing
While prefix, bindir and qemu_suffix needs special treatment due to
differences between Windows and POSIX systems, everything else
needs no extra code in configure.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/meson-buildoptions.py')
-rwxr-xr-x | scripts/meson-buildoptions.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/meson-buildoptions.py b/scripts/meson-buildoptions.py index 0f9603a7f6..45cda8cd84 100755 --- a/scripts/meson-buildoptions.py +++ b/scripts/meson-buildoptions.py @@ -27,9 +27,7 @@ import sys SKIP_OPTIONS = { "default_devices", - "docdir", "fuzzing_engine", - "qemu_firmwarepath", "qemu_suffix", "smbd", } @@ -37,12 +35,21 @@ SKIP_OPTIONS = { OPTION_NAMES = { "malloc": "enable-malloc", "pkgversion": "with-pkgversion", + "qemu_firmwarepath": "firmwarepath", "trace_backends": "enable-trace-backends", "trace_file": "with-trace-file", } BUILTIN_OPTIONS = { + "datadir", + "includedir", + "libdir", + "libexecdir", + "localedir", + "localstatedir", + "mandir", "strip", + "sysconfdir", } LINE_WIDTH = 76 |