mempool/octeontx: build with meson
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Fri, 19 Jan 2018 18:15:18 +0000 (23:45 +0530)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:58:59 +0000 (21:58 +0100)
Add octeontx hardware mempool driver to meson build.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/mempool/meson.build
drivers/mempool/octeontx/meson.build [new file with mode: 0644]

index a47b1d9..5991856 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-drivers = ['ring', 'stack']
+drivers = ['ring', 'stack', 'octeontx']
 std_deps = ['mempool']
 config_flag_fmt = 'RTE_LIBRTE_@0@_MEMPOOL'
 driver_name_fmt = 'rte_mempool_@0@'
diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build
new file mode 100644 (file)
index 0000000..1e894a5
--- /dev/null
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Cavium, Inc
+
+sources = files('octeontx_ssovf.c',
+               'octeontx_mbox.c',
+               'octeontx_fpavf.c',
+               'rte_mempool_octeontx.c'
+)
+
+deps += ['mbuf', 'bus_pci']