diff options
author | Marc-André Lureau | 2019-07-22 21:47:50 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:23 +0200 |
commit | cdaf07228cf42d708fe24371a68cec022841e018 (patch) | |
tree | 314dea957075960791922c9749c680fcbc86e88a /net/can | |
parent | meson: convert migration directory to Meson (diff) | |
download | qemu-cdaf07228cf42d708fe24371a68cec022841e018.tar.gz qemu-cdaf07228cf42d708fe24371a68cec022841e018.tar.xz qemu-cdaf07228cf42d708fe24371a68cec022841e018.zip |
meson: convert net directory to Meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/can')
-rw-r--r-- | net/can/Makefile.objs | 2 | ||||
-rw-r--r-- | net/can/meson.build | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/net/can/Makefile.objs b/net/can/Makefile.objs deleted file mode 100644 index 9f35dc5c87..0000000000 --- a/net/can/Makefile.objs +++ /dev/null @@ -1,2 +0,0 @@ -common-obj-y += can_core.o can_host.o -common-obj-$(CONFIG_LINUX) += can_socketcan.o 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) |