mirror of
https://github.com/mborgerson/xemu.git
synced 2025-10-29 20:51:12 +00:00
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>
8 lines
199 B
Meson
8 lines
199 B
Meson
can_ss = ss.source_set()
|
|
can_ss.add(files('can_core.c', 'can_host.c'))
|
|
if targetos == 'linux'
|
|
can_ss.add(files('can_socketcan.c'))
|
|
endif
|
|
|
|
system_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss)
|