summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/net/fm10k/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/net/fm10k/meson.build')
-rw-r--r--src/spdk/dpdk/drivers/net/fm10k/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/net/fm10k/meson.build b/src/spdk/dpdk/drivers/net/fm10k/meson.build
new file mode 100644
index 000000000..2772ea4df
--- /dev/null
+++ b/src/spdk/dpdk/drivers/net/fm10k/meson.build
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Intel Corporation
+
+subdir('base')
+objs = [base_objs]
+
+sources = files(
+ 'fm10k_ethdev.c',
+ 'fm10k_rxtx.c',
+)
+if arch_subdir == 'x86'
+ dpdk_conf.set('RTE_LIBRTE_FM10K_INC_VECTOR', 1)
+ sources += files('fm10k_rxtx_vec.c')
+endif
+
+includes += include_directories('base')