mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos
For consistency with other OSes, use if...endif for rules that are target-independent. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
53e8868d69
commit
dc4954943d
8 changed files with 79 additions and 60 deletions
|
@ -10,8 +10,10 @@ system_ss.add([files(
|
|||
'confidential-guest-support.c',
|
||||
), numa])
|
||||
|
||||
system_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
|
||||
system_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
|
||||
if targetos != 'windows'
|
||||
system_ss.add(files('rng-random.c'))
|
||||
system_ss.add(files('hostmem-file.c'))
|
||||
endif
|
||||
if targetos == 'linux'
|
||||
system_ss.add(files('hostmem-memfd.c'))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue