diff mbox series

[10/11] bus/vmbus: add meson support for FreeBSD OS

Message ID 20210927134231.11177-11-srikanth.k@oneconvergence.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers show
Series add FreeBSD support to VMBUS & NetVSC PMDs | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Srikanth Kaka Sept. 27, 2021, 1:42 p.m. UTC
add meson support for FreeBSD OS

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>
---
 drivers/bus/vmbus/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/bus/vmbus/meson.build b/drivers/bus/vmbus/meson.build
index 3892cbf67f..8fbe144fcd 100644
--- a/drivers/bus/vmbus/meson.build
+++ b/drivers/bus/vmbus/meson.build
@@ -20,7 +20,11 @@  if is_linux
     sources += files('linux/vmbus_bus.c',
             'linux/vmbus_uio.c')
     includes += include_directories('linux')
+elif is_freebsd
+    sources += files('freebsd/vmbus_bus.c',
+	  'freebsd/vmbus_uio.c')
+    includes += include_directories('freebsd')
 else
     build = false
-    reason = 'only supported on Linux'
+    reason = 'only supported on Linux & FreeBSD'
 endif