net/nfp: add to meson build

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Bruce Richardson 2018-06-08 22:20:45 +01:00 committed by Ferruh Yigit
parent bad475c03f
commit d9b9ca7e05
2 changed files with 19 additions and 1 deletions

View File

@ -18,7 +18,9 @@ drivers = ['af_packet',
'ixgbe',
'kni',
'liquidio',
'mvpp2', 'null', 'octeontx', 'pcap', 'ring',
'mvpp2',
'nfp',
'null', 'octeontx', 'pcap', 'ring',
'sfc', '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

View File

@ -0,0 +1,16 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
sources = files('nfpcore/nfp_cpp_pcie_ops.c',
'nfpcore/nfp_nsp.c',
'nfpcore/nfp_cppcore.c',
'nfpcore/nfp_resource.c',
'nfpcore/nfp_mip.c',
'nfpcore/nfp_nffw.c',
'nfpcore/nfp_rtsym.c',
'nfpcore/nfp_nsp_cmds.c',
'nfpcore/nfp_crc.c',
'nfpcore/nfp_mutex.c',
'nfpcore/nfp_nsp_eth.c',
'nfpcore/nfp_hwinfo.c',
'nfp_net.c')