diff mbox series

[v2,14/15] net/szedata2: add to meson build

Message ID 20180608212048.67261-15-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
CC: Matej Vido <vido@cesnet.cz>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/net/meson.build          | 2 +-
 drivers/net/szedata2/meson.build | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/szedata2/meson.build
diff mbox series

Patch

diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index 9cec3f884..c7e18a696 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -8,7 +8,7 @@  drivers = ['af_packet', 'ark', 'avp',
 	'fm10k', 'i40e', 'ifcvf', 'ixgbe',
 	'kni', 'liquidio', 'mvpp2', 'nfp', 'null',
 	'octeontx', 'pcap', 'ring',
-	'sfc', 'softnic',
+	'sfc', 'softnic', 'szedata2',
 	'thunderx', 'virtio']
 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
 std_deps += ['bus_pci']         # very many PMDs depend on PCI, so make std
diff --git a/drivers/net/szedata2/meson.build b/drivers/net/szedata2/meson.build
new file mode 100644
index 000000000..da3733743
--- /dev/null
+++ b/drivers/net/szedata2/meson.build
@@ -0,0 +1,7 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+dep = cc.find_library('sze2', required: false)
+build = dep.found()
+ext_deps += dep
+sources = files('rte_eth_szedata2.c')