mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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>
This commit is contained in:
parent
f7fb6c6ad4
commit
c09c1ce7e9
4 changed files with 34 additions and 60 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue