summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/drivers/net/nfb/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/dpdk/drivers/net/nfb/meson.build')
-rw-r--r--src/seastar/dpdk/drivers/net/nfb/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/seastar/dpdk/drivers/net/nfb/meson.build b/src/seastar/dpdk/drivers/net/nfb/meson.build
new file mode 100644
index 000000000..457955d72
--- /dev/null
+++ b/src/seastar/dpdk/drivers/net/nfb/meson.build
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Cesnet
+# Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>
+# All rights reserved.
+
+dep = cc.find_library('nfb', required: false)
+
+build = dep.found() and cc.has_header('nfb/nfb.h', dependencies: dep)
+
+nc = dependency('netcope-common', required: false)
+
+ext_deps += dep
+ext_deps += nc
+
+sources = files('nfb_rx.c', 'nfb_tx.c', 'nfb_stats.c', 'nfb_ethdev.c', 'nfb_rxmode.c')