net/nfp: add to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 21:20:45 +0000 (22:20 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/meson.build
drivers/net/nfp/meson.build [new file with mode: 0644]

index f40958d..b1c1bba 100644 (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
diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
new file mode 100644 (file)
index 0000000..3ba37e2
--- /dev/null
@@ -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')