1can_ss = ss.source_set() 2can_ss.add(files('can_core.c', 'can_host.c')) 3can_ss.add(when: 'CONFIG_LINUX', if_true: files('can_socketcan.c')) 4 5softmmu_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss) 6
1can_ss = ss.source_set() 2can_ss.add(files('can_core.c', 'can_host.c')) 3can_ss.add(when: 'CONFIG_LINUX', if_true: files('can_socketcan.c')) 4 5softmmu_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss) 6