mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
meson: remove OS definitions from config_targetos
CONFIG_DARWIN, CONFIG_LINUX and CONFIG_BSD are used in some rules, but only CONFIG_LINUX has substantial use. Convert them all to if...endif. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e7c22ff87a
commit
53e8868d69
15 changed files with 57 additions and 42 deletions
|
@ -91,7 +91,9 @@ endif
|
|||
block_ss.add(when: 'CONFIG_WIN32', if_true: files('file-win32.c', 'win32-aio.c'))
|
||||
block_ss.add(when: 'CONFIG_POSIX', if_true: [files('file-posix.c'), coref, iokit])
|
||||
block_ss.add(when: libiscsi, if_true: files('iscsi-opts.c'))
|
||||
block_ss.add(when: 'CONFIG_LINUX', if_true: files('nvme.c'))
|
||||
if targetos == 'linux'
|
||||
block_ss.add(files('nvme.c'))
|
||||
endif
|
||||
if get_option('replication').allowed()
|
||||
block_ss.add(files('replication.c'))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue