mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00: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:
@ -25,10 +25,9 @@ endif
|
||||
system_ss.add([spice_headers, files('spice-module.c')])
|
||||
system_ss.add(when: spice_protocol, if_true: files('vdagent.c'))
|
||||
|
||||
system_ss.add(when: 'CONFIG_LINUX', if_true: files(
|
||||
'input-linux.c',
|
||||
'udmabuf.c',
|
||||
))
|
||||
if targetos == 'linux'
|
||||
system_ss.add(files('input-linux.c', 'udmabuf.c'))
|
||||
endif
|
||||
system_ss.add(when: cocoa, if_true: files('cocoa.m'))
|
||||
|
||||
vnc_ss = ss.source_set()
|
||||
|
Reference in New Issue
Block a user