summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/net/bnx2x/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/net/bnx2x/meson.build')
-rw-r--r--src/spdk/dpdk/drivers/net/bnx2x/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/net/bnx2x/meson.build b/src/spdk/dpdk/drivers/net/bnx2x/meson.build
new file mode 100644
index 000000000..4892bb234
--- /dev/null
+++ b/src/spdk/dpdk/drivers/net/bnx2x/meson.build
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+dep = dependency('zlib', required: false)
+build = dep.found()
+reason = 'missing dependency, "zlib"'
+ext_deps += dep
+cflags += '-DZLIB_CONST'
+sources = files('bnx2x.c',
+ 'bnx2x_ethdev.c',
+ 'bnx2x_rxtx.c',
+ 'bnx2x_stats.c',
+ 'bnx2x_vfpf.c',
+ 'ecore_sp.c',
+ 'elink.c')