summaryrefslogtreecommitdiffstats
path: root/drivers/net/kni/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/kni/meson.build')
-rw-r--r--drivers/net/kni/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build
new file mode 100644
index 00000000..0f784c6d
--- /dev/null
+++ b/drivers/net/kni/meson.build
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+# this driver can be built if-and-only-if KNI library is buildable
+build = dpdk_conf.has('RTE_LIBRTE_KNI')
+allow_experimental_apis = true
+sources = files('rte_eth_kni.c')
+deps += 'kni'