diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-07-22 23:47:50 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:23 -0400 |
commit | cdaf07228cf42d708fe24371a68cec022841e018 (patch) | |
tree | 314dea957075960791922c9749c680fcbc86e88a /net/can | |
parent | 5516623020db6a4f3ebee42b2fd6a5c517f939a9 (diff) | |
download | qemu-cdaf07228cf42d708fe24371a68cec022841e018.zip qemu-cdaf07228cf42d708fe24371a68cec022841e018.tar.gz qemu-cdaf07228cf42d708fe24371a68cec022841e018.tar.bz2 |
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 9f35dc5..0000000 --- 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 0000000..f53d9ec --- /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) |