From c1ebe3c0c0b3882bcc6cade48be351f565283629 Mon Sep 17 00:00:00 2001 From: Nipun Gupta Date: Thu, 3 May 2018 21:36:03 +0530 Subject: [PATCH] drivers/raw: support meson build Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++++++ drivers/raw/skeleton_rawdev/meson.build | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers/raw/meson.build create mode 100644 drivers/raw/skeleton_rawdev/meson.build diff --git a/drivers/meson.build b/drivers/meson.build index b146f09c5a..f879cb6759 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -7,7 +7,8 @@ driver_classes = ['common', 'mempool', # depends on common and bus. 'net', # depends on common, bus and mempool. 'crypto', # depends on common, bus and mempool (net in future). - 'event'] # depends on common, bus, mempool and net. + 'event', # depends on common, bus, mempool and net. + 'raw'] # depends on common, bus, mempool, net and event. foreach class:driver_classes drivers = [] diff --git a/drivers/raw/meson.build b/drivers/raw/meson.build new file mode 100644 index 0000000000..24c82fff99 --- /dev/null +++ b/drivers/raw/meson.build @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2018 NXP + +drivers = ['skeleton_rawdev'] +std_deps = ['rawdev'] +config_flag_fmt = 'RTE_LIBRTE_PMD_@0@_RAWDEV' +driver_name_fmt = 'rte_pmd_@0@' diff --git a/drivers/raw/skeleton_rawdev/meson.build b/drivers/raw/skeleton_rawdev/meson.build new file mode 100644 index 0000000000..7cb2d3fb1f --- /dev/null +++ b/drivers/raw/skeleton_rawdev/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2018 NXP + +deps += ['rawdev', 'kvargs', 'mbuf', 'bus_vdev'] +sources = files('skeleton_rawdev.c', + 'skeleton_rawdev_test.c') + +allow_experimental_apis = true -- 2.20.1