summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_kni/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_kni/meson.build')
-rw-r--r--src/spdk/dpdk/lib/librte_kni/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_kni/meson.build b/src/spdk/dpdk/lib/librte_kni/meson.build
new file mode 100644
index 000000000..425989d07
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_kni/meson.build
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Intel Corporation
+
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
+ build = false
+ reason = 'only supported on 64-bit linux'
+endif
+sources = files('rte_kni.c')
+headers = files('rte_kni.h')
+deps += ['ethdev', 'pci']
+build = false
+reason = 'not needed by SPDK'