baseband/null: add in meson build
authorLuca Boccassi <bluca@debian.org>
Tue, 18 Sep 2018 14:58:19 +0000 (15:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Sep 2018 20:53:35 +0000 (22:53 +0200)
Signed-off-by: Luca Boccassi <bluca@debian.org>
drivers/baseband/meson.build [new file with mode: 0644]
drivers/baseband/null/meson.build [new file with mode: 0644]
drivers/meson.build

diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build
new file mode 100644 (file)
index 0000000..52489df
--- /dev/null
@@ -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 (file)
index 0000000..64c29d8
--- /dev/null
@@ -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')
index c5df313..47b4215 100644 (file)
@@ -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