2019-07-22 22:47:50 +03:00
|
|
|
can_ss = ss.source_set()
|
|
|
|
can_ss.add(files('can_core.c', 'can_host.c'))
|
2023-11-03 11:17:48 +03:00
|
|
|
if host_os == 'linux'
|
2023-05-26 13:20:39 +03:00
|
|
|
can_ss.add(files('can_socketcan.c'))
|
|
|
|
endif
|
2019-07-22 22:47:50 +03:00
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss)
|