From cdaf07228cf42d708fe24371a68cec022841e018 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 22 Jul 2019 23:47:50 +0400 Subject: meson: convert net directory to Meson Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- net/can/Makefile.objs | 2 -- net/can/meson.build | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 net/can/Makefile.objs create mode 100644 net/can/meson.build (limited to 'net/can') 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) -- cgit v1.2.3-55-g7522