Adding support for meson build environment
for the new BBDEV PMD driver.
Signed-off-by: Nicolas Chautru <[email protected]>
---
drivers/baseband/fpga_lte_fec/meson.build | 7 +++++++
drivers/baseband/meson.build | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 drivers/baseband/fpga_lte_fec/meson.build
diff --git a/drivers/baseband/fpga_lte_fec/meson.build
b/drivers/baseband/fpga_lte_fec/meson.build
new file mode 100644
index 0000000..bf44e6b
--- /dev/null
+++ b/drivers/baseband/fpga_lte_fec/meson.build
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Intel Corporation
+
+deps += ['bbdev', 'bus_vdev', 'ring', 'pci', 'bus_pci']
+name = 'bbdev_fpga_lte_fec'
+allow_experimental_apis = true
+sources = files('fpga_lte_fec.c')
diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build
index 52489df..a17d549 100644
--- a/drivers/baseband/meson.build
+++ b/drivers/baseband/meson.build
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <[email protected]>
-drivers = ['null']
+drivers = ['null', 'fpga_lte_fec']
config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'
driver_name_fmt = 'rte_pmd_@0@'
--
1.8.3.1