build: move coroutine backend selection to meson

To simplify the code, rename coroutine-win32.c to match the option
passed to configure.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini
2022-10-12 13:19:35 +02:00
parent 721fa5e563
commit 6739825aa6
7 changed files with 38 additions and 65 deletions

View File

@ -35,6 +35,7 @@ SKIP_OPTIONS = {
OPTION_NAMES = {
"b_coverage": "gcov",
"b_lto": "lto",
"coroutine_backend": "with-coroutine",
"malloc": "enable-malloc",
"pkgversion": "with-pkgversion",
"qemu_firmwarepath": "firmwarepath",