aboutsummaryrefslogtreecommitdiff
path: root/net/can/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'net/can/meson.build')
-rw-r--r--net/can/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/can/meson.build b/net/can/meson.build
new file mode 100644
index 0000000000..f53d9ec54f
--- /dev/null
+++ b/net/can/meson.build
@@ -0,0 +1,5 @@
+can_ss = ss.source_set()
+can_ss.add(files('can_core.c', 'can_host.c'))
+can_ss.add(when: 'CONFIG_LINUX', if_true: files('can_socketcan.c'))
+
+softmmu_ss.add_all(when: 'CONFIG_CAN_BUS', if_true: can_ss)