d0cda6f461
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>
8 lines
198 B
Meson
8 lines
198 B
Meson
can_ss = ss.source_set()
|
|
can_ss.add(files('can_core.c', 'can_host.c'))
|
|
if host_os == 'linux'
|
|
can_ss.add(files('can_socketcan.c'))
|
|
endif
|
|
|
|
system_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss)
|