From: Michael Tokarev Date: Fri, 1 Sep 2023 10:13:02 +0000 (+0300) Subject: util/async-teardown.c: move to softmmu/, only build it when system build is requested X-Git-Tag: v8.2.0-rc0~138^2~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb5c77c4f8a5ea9cb3f6bcf5ca33bab4d85d1d92;p=thirdparty%2Fqemu.git util/async-teardown.c: move to softmmu/, only build it when system build is requested Signed-off-by: Michael Tokarev Reviewed-by: Eric Blake Message-ID: <20230901101302.3618955-9-mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini --- diff --git a/util/async-teardown.c b/softmmu/async-teardown.c similarity index 100% rename from util/async-teardown.c rename to softmmu/async-teardown.c diff --git a/softmmu/meson.build b/softmmu/meson.build index ea5603f0218..c18b7ad7382 100644 --- a/softmmu/meson.build +++ b/softmmu/meson.build @@ -37,3 +37,4 @@ endif system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c')) system_ss.add(when: fdt, if_true: files('device_tree.c')) +system_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c')) diff --git a/util/meson.build b/util/meson.build index a3751602869..c4827fd70aa 100644 --- a/util/meson.build +++ b/util/meson.build @@ -3,7 +3,6 @@ util_ss.add(files('thread-context.c'), numa) if not config_host_data.get('CONFIG_ATOMIC64') util_ss.add(files('atomic64.c')) endif -util_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c')) if config_host_data.get('CONFIG_EPOLL_CREATE1')