aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fm10k/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fm10k/meson.build')
-rw-r--r--drivers/net/fm10k/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/fm10k/meson.build b/drivers/net/fm10k/meson.build
new file mode 100644
index 00000000..2772ea4d
--- /dev/null
+++ b/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')