[PATCH v4 6/9] build: add Meson file for bbdev_null PMD
From: Luca Boccassi <hidden>
Date: 2018-09-13 16:16:21
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Luca Boccassi <redacted> --- drivers/baseband/meson.build | 7 +++++++ drivers/baseband/null/meson.build | 7 +++++++ drivers/meson.build | 1 + 3 files changed, 15 insertions(+) create mode 100644 drivers/baseband/meson.build create mode 100644 drivers/baseband/null/meson.build
diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build
new file mode 100644
index 0000000000..52489df354
--- /dev/null
+++ b/drivers/baseband/meson.build@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi <bluca@debian.org> + +drivers = ['null'] + +config_flag_fmt = 'RTE_LIBRTE_@0@_PMD' +driver_name_fmt = 'rte_pmd_@0@'
diff --git a/drivers/baseband/null/meson.build b/drivers/baseband/null/meson.build
new file mode 100644
index 0000000000..64c29d8600
--- /dev/null
+++ b/drivers/baseband/null/meson.build@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi <bluca@debian.org> + +deps += ['bbdev', 'bus_vdev', 'ring'] +name = 'bbdev_null' +allow_experimental_apis = true +sources = files('bbdev_null.c')
diff --git a/drivers/meson.build b/drivers/meson.build
index f94e2fe672..14e335ec1d 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build@@ -9,6 +9,7 @@ driver_classes = ['common', 'crypto', # depends on common, bus and mempool (net in future). 'compress', # depends on common, bus, mempool. 'event', # depends on common, bus, mempool and net. + 'baseband', # depends on common and bus. 'raw'] # depends on common, bus, mempool, net and event. default_cflags = machine_args
--
2.18.0