]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
util/async-teardown.c: move to softmmu/, only build it when system build is requested
authorMichael Tokarev <mjt@tls.msk.ru>
Fri, 1 Sep 2023 10:13:02 +0000 (13:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Sep 2023 21:46:20 +0000 (23:46 +0200)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230901101302.3618955-9-mjt@tls.msk.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/async-teardown.c [moved from util/async-teardown.c with 100% similarity]
softmmu/meson.build
util/meson.build

index ea5603f02182a86077e804116fb0df5f599db67f..c18b7ad738226fcbee921242246d2da40ac128bf 100644 (file)
@@ -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'))
index a3751602869d04821b6ea3dd1677933972a5643f..c4827fd70aa241d4c3ba7a868b2e4ed253b26a8e 100644 (file)
@@ -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')