From d9b9ca7e05955a278332b3c3f7d85ddeec1904cb Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 8 Jun 2018 22:20:45 +0100 Subject: [PATCH] net/nfp: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- drivers/net/meson.build | 4 +++- drivers/net/nfp/meson.build | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 drivers/net/nfp/meson.build diff --git a/drivers/net/meson.build b/drivers/net/meson.build index f40958d02a..b1c1bbab9a 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -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 index 0000000000..3ba37e2799 --- /dev/null +++ b/drivers/net/nfp/meson.build @@ -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') -- 2.20.1