diff mbox series

[v2,11/15] net/liquidio: add to meson build

Message ID 20180608212048.67261-12-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series add meson support for more net drivers | expand

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson June 8, 2018, 9:20 p.m. UTC
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
---
 drivers/net/liquidio/Makefile                             | 2 +-
 drivers/net/liquidio/meson.build                          | 8 ++++++++
 ...e_pmd_lio_version.map => rte_pmd_liquidio_version.map} | 0
 drivers/net/meson.build                                   | 2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/liquidio/meson.build
 rename drivers/net/liquidio/{rte_pmd_lio_version.map => rte_pmd_liquidio_version.map} (100%)
diff mbox series

Patch

diff --git a/drivers/net/liquidio/Makefile b/drivers/net/liquidio/Makefile
index fc5f18ad6..f1092851a 100644
--- a/drivers/net/liquidio/Makefile
+++ b/drivers/net/liquidio/Makefile
@@ -15,7 +15,7 @@  LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
 LDLIBS += -lrte_bus_pci
 
-EXPORT_MAP := rte_pmd_lio_version.map
+EXPORT_MAP := rte_pmd_liquidio_version.map
 
 LIBABIVER := 1
 
diff --git a/drivers/net/liquidio/meson.build b/drivers/net/liquidio/meson.build
new file mode 100644
index 000000000..9ae48e213
--- /dev/null
+++ b/drivers/net/liquidio/meson.build
@@ -0,0 +1,8 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('base/lio_23xx_vf.c',
+	'base/lio_mbox.c',
+	'lio_ethdev.c',
+	'lio_rxtx.c')
+includes += include_directories('base')
diff --git a/drivers/net/liquidio/rte_pmd_lio_version.map b/drivers/net/liquidio/rte_pmd_liquidio_version.map
similarity index 100%
rename from drivers/net/liquidio/rte_pmd_lio_version.map
rename to drivers/net/liquidio/rte_pmd_liquidio_version.map
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index 213fe734c..9faed7d61 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -6,7 +6,7 @@  drivers = ['af_packet', 'ark', 'avp',
 	'bnxt', 'cxgbe', 'dpaa', 'dpaa2',
 	'e1000', 'ena', 'enic', 'failsafe',
 	'fm10k', 'i40e', 'ifcvf', 'ixgbe',
-	'kni', 'mvpp2', 'null',
+	'kni', 'liquidio', 'mvpp2', 'null',
 	'octeontx', 'pcap', 'ring',
 	'sfc', 'thunderx', 'virtio']
 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc