diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-12 13:19:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-18 08:53:52 +0200 |
commit | 6739825aa6e432fdb668e842def12c5deb3e5bad (patch) | |
tree | 5988d5fd30070826da2bef77a9058494058044a6 /util | |
parent | 721fa5e563e8174d6c33e1e413cebb5442625932 (diff) | |
download | qemu-6739825aa6e432fdb668e842def12c5deb3e5bad.zip qemu-6739825aa6e432fdb668e842def12c5deb3e5bad.tar.gz qemu-6739825aa6e432fdb668e842def12c5deb3e5bad.tar.bz2 |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/coroutine-windows.c (renamed from util/coroutine-win32.c) | 0 | ||||
-rw-r--r-- | util/meson.build | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/util/coroutine-win32.c b/util/coroutine-windows.c index 7db2e8f..7db2e8f 100644 --- a/util/coroutine-win32.c +++ b/util/coroutine-windows.c diff --git a/util/meson.build b/util/meson.build index 2cb103f..e1f1c39 100644 --- a/util/meson.build +++ b/util/meson.build @@ -78,7 +78,7 @@ if have_block or have_ga util_ss.add(files('base64.c')) util_ss.add(files('main-loop.c')) util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c')) - util_ss.add(files('coroutine-@0@.c'.format(config_host['CONFIG_COROUTINE_BACKEND']))) + util_ss.add(files(f'coroutine-@coroutine_backend@.c')) util_ss.add(files('thread-pool.c', 'qemu-timer.c')) util_ss.add(files('qemu-sockets.c')) endif |