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 /hw/usb | |
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 'hw/usb')
-rw-r--r-- | hw/usb/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/meson.build b/hw/usb/meson.build index b7755b6..2c13c52 100644 --- a/hw/usb/meson.build +++ b/hw/usb/meson.build @@ -44,7 +44,7 @@ system_ss.add(when: 'CONFIG_USB_STORAGE_UAS', if_true: files('dev-uas.c')) system_ss.add(when: 'CONFIG_USB_AUDIO', if_true: files('dev-audio.c')) system_ss.add(when: 'CONFIG_USB_SERIAL', if_true: files('dev-serial.c')) system_ss.add(when: 'CONFIG_USB_NETWORK', if_true: files('dev-network.c')) -if targetos != 'windows' +if host_os != 'windows' system_ss.add(when: 'CONFIG_USB_STORAGE_MTP', if_true: files('dev-mtp.c')) endif @@ -60,7 +60,7 @@ endif # U2F system_ss.add(when: 'CONFIG_USB_U2F', if_true: files('u2f.c')) -if targetos == 'linux' +if host_os == 'linux' system_ss.add(when: 'CONFIG_USB_U2F', if_true: [libudev, files('u2f-passthru.c')]) endif if u2f.found() |