diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-03 09:17:48 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-12-31 09:11:29 +0100 |
commit | d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b (patch) | |
tree | c48bd2a0ab0da96761a6b75cdb66cb1ed36a5090 /util | |
parent | cfc1a889e509ffeba6e44cca8ff626751bc4219e (diff) | |
download | qemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.zip qemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.tar.gz qemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.tar.bz2 |
configure, meson: rename targetos to host_os
This variable is about the host OS, not the target. It is used a lot
more since the Meson conversion, but the original sin dates back to 2003.
Time to fix it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/meson.build b/util/meson.build index 4e970d2..af3bf56 100644 --- a/util/meson.build +++ b/util/meson.build @@ -3,7 +3,7 @@ util_ss.add(files('thread-context.c'), numa) if not config_host_data.get('CONFIG_ATOMIC64') util_ss.add(files('atomic64.c')) endif -if targetos != 'windows' +if host_os != 'windows' util_ss.add(files('aio-posix.c')) util_ss.add(files('fdmon-poll.c')) if config_host_data.get('CONFIG_EPOLL_CREATE1') @@ -13,7 +13,7 @@ if targetos != 'windows' util_ss.add(files('event_notifier-posix.c')) util_ss.add(files('mmap-alloc.c')) freebsd_dep = [] - if targetos == 'freebsd' + if host_os == 'freebsd' freebsd_dep = util endif util_ss.add(files('oslib-posix.c'), freebsd_dep) @@ -73,7 +73,7 @@ endif if have_system util_ss.add(files('crc-ccitt.c')) util_ss.add(when: gio, if_true: files('dbus.c')) - if targetos == 'linux' + if host_os == 'linux' util_ss.add(files('userfaultfd.c')) endif endif @@ -108,7 +108,7 @@ if have_block else util_ss.add(files('filemonitor-stub.c')) endif - if targetos == 'linux' + if host_os == 'linux' util_ss.add(files('vhost-user-server.c'), vhost_user) util_ss.add(files('vfio-helpers.c')) util_ss.add(files('chardev_open.c')) |