net/enic: support meson
authorHyong Youb Kim <hyonkim@cisco.com>
Thu, 8 Mar 2018 02:47:02 +0000 (18:47 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/enic/meson.build [new file with mode: 0644]
drivers/net/meson.build

diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build
new file mode 100644 (file)
index 0000000..bfd4e23
--- /dev/null
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Cisco Systems, Inc.
+
+sources = files(
+       'base/vnic_cq.c',
+       'base/vnic_dev.c',
+       'base/vnic_intr.c',
+       'base/vnic_rq.c',
+       'base/vnic_rss.c',
+       'base/vnic_wq.c',
+       'enic_clsf.c',
+       'enic_ethdev.c',
+       'enic_flow.c',
+       'enic_main.c',
+       'enic_res.c',
+       'enic_rxtx.c',
+       )
+deps += ['hash']
+includes += include_directories('base')
index 457904b..aae817c 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright(c) 2017 Intel Corporation
 
 drivers = ['af_packet', 'bonding', 'dpaa', 'dpaa2',
-       'e1000', 'fm10k', 'i40e', 'ixgbe',
+       'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
        'null', 'octeontx', 'pcap', 'ring',
        'sfc', 'thunderx', 'virtio']
 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc