From: Luca Boccassi Date: Tue, 18 Sep 2018 14:58:15 +0000 (+0100) Subject: net/vdev_netvsc: add in meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9fc43dbfd66e;p=dpdk.git net/vdev_netvsc: add in meson build Signed-off-by: Luca Boccassi --- diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 499949ca6a..bd60fdd7c0 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -27,6 +27,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 + +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