Signed-off-by: Luca Boccassi <bl...@debian.org> --- drivers/net/meson.build | 1 + drivers/net/vdev_netvsc/meson.build | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 drivers/net/vdev_netvsc/meson.build
diff --git a/drivers/net/meson.build b/drivers/net/meson.build index b7b4870eb8..68ac42d67c 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -29,6 +29,7 @@ drivers = ['af_packet', 'szedata2', 'tap', 'thunderx', + 'vdev_netvsc', 'vhost', 'virtio'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc diff --git a/drivers/net/vdev_netvsc/meson.build b/drivers/net/vdev_netvsc/meson.build new file mode 100644 index 0000000000..cc956e7b27 --- /dev/null +++ b/drivers/net/vdev_netvsc/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi <bl...@debian.org> + +sources = files('vdev_netvsc.c') + +allow_experimental_apis = true + +cflags_options = [ + '-Wall', + '-Wextra', + '-D_BSD_SOURCE', + '-D_DEFAULT_SOURCE', + '-D_XOPEN_SOURCE=600' +] +foreach option:cflags_options + if cc.has_argument(option) + cflags += option + endif +endforeach -- 2.18.0