summaryrefslogtreecommitdiff
path: root/drivers/common
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>2018-04-04 20:00:24 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-04-04 17:40:03 +0200
commit9c169bad7ce71610aece5ae73a0e801251c1f5f9 (patch)
treeee85fb790a0f8a3107844c625197a1b36b5efed8 /drivers/common
parent8ea081f381615308bb872a608ebbdb0aa6c9f90f (diff)
downloaddpdk-next-eventdev-9c169bad7ce71610aece5ae73a0e801251c1f5f9.zip
dpdk-next-eventdev-9c169bad7ce71610aece5ae73a0e801251c1f5f9.tar.gz
dpdk-next-eventdev-9c169bad7ce71610aece5ae73a0e801251c1f5f9.tar.xz
drivers: add common folder
Add driver/common folder and skeleton makefile for adding commonly used functions across mempool, event and net devices. Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Diffstat (limited to 'drivers/common')
-rw-r--r--drivers/common/Makefile7
-rw-r--r--drivers/common/meson.build6
2 files changed, 13 insertions, 0 deletions
diff --git a/drivers/common/Makefile b/drivers/common/Makefile
new file mode 100644
index 0000000..1920663
--- /dev/null
+++ b/drivers/common/Makefile
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Cavium, Inc
+#
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+include $(RTE_SDK)/mk/rte.subdir.mk
diff --git a/drivers/common/meson.build b/drivers/common/meson.build
new file mode 100644
index 0000000..ab774b8
--- /dev/null
+++ b/drivers/common/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Cavium, Inc
+
+std_deps = ['eal']
+config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'
+driver_name_fmt = 'rte_common_@0@'