[v2,11/11] net/netvsc: add meson support for FreeBSD
Checks
Commit Message
From: srikanth-oc <srikanth.k@oneconvergence.com>
add meson support for FreeBSD
v2 - moved include statement to after OS detection
- updated ./MAINTAINERS file
Signed-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>
Signed-off-by: Vag Singh <vag.singh@oneconvergence.com>
Signed-off-by: Anand Thulasiram <avelu@juniper.net>
---
MAINTAINERS | 2 ++
drivers/net/netvsc/freebsd/meson.build | 6 ++++++
drivers/net/netvsc/linux/meson.build | 6 ++++++
drivers/net/netvsc/meson.build | 4 ++++
4 files changed, 18 insertions(+)
create mode 100644 drivers/net/netvsc/freebsd/meson.build
create mode 100644 drivers/net/netvsc/linux/meson.build
@@ -552,6 +552,7 @@ F: drivers/bus/vdev/
VMBUS bus driver
M: Stephen Hemminger <sthemmin@microsoft.com>
M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
F: drivers/bus/vmbus/
@@ -824,6 +825,7 @@ F: doc/guides/nics/vdev_netvsc.rst
Microsoft Hyper-V netvsc
M: Stephen Hemminger <sthemmin@microsoft.com>
M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
F: drivers/net/netvsc/
F: doc/guides/nics/netvsc.rst
F: doc/guides/nics/features/netvsc.ini
new file mode 100644
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+ 'hn_os.c',
+)
new file mode 100644
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+ 'hn_os.c',
+)
@@ -7,6 +7,8 @@ if is_windows
subdir_done()
endif
+includes += include_directories(exec_env)
+
build = dpdk_conf.has('RTE_BUS_VMBUS')
reason = 'missing dependency, DPDK VMBus driver'
sources = files(
@@ -18,3 +20,5 @@ sources = files(
)
deps += ['bus_vmbus' ]
+
+subdir(exec_env)