From 870c251cd0ae6ef1a27b374c1baf9cd698ce4763 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 8 Jun 2018 22:20:37 +0100 Subject: [PATCH] net/bnxt: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- app/test-pmd/meson.build | 3 +++ drivers/net/bnxt/meson.build | 18 ++++++++++++++++++ drivers/net/meson.build | 1 + 3 files changed, 22 insertions(+) create mode 100644 drivers/net/bnxt/meson.build diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build index a51514b033..4c9fbbfda7 100644 --- a/app/test-pmd/meson.build +++ b/app/test-pmd/meson.build @@ -25,6 +25,9 @@ deps = ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci'] if dpdk_conf.has('RTE_LIBRTE_PDUMP') deps += 'pdump' endif +if dpdk_conf.has('RTE_LIBRTE_BNXT_PMD') + deps += 'pmd_bnxt' +endif if dpdk_conf.has('RTE_LIBRTE_I40E_PMD') deps += 'pmd_i40e' endif diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build new file mode 100644 index 0000000000..486bf0fd38 --- /dev/null +++ b/drivers/net/bnxt/meson.build @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +install_headers('rte_pmd_bnxt.h') +version = 2 +sources = files('bnxt_cpr.c', + 'bnxt_ethdev.c', + 'bnxt_filter.c', + 'bnxt_hwrm.c', + 'bnxt_irq.c', + 'bnxt_ring.c', + 'bnxt_rxq.c', + 'bnxt_rxr.c', + 'bnxt_stats.c', + 'bnxt_txq.c', + 'bnxt_txr.c', + 'bnxt_vnic.c', + 'rte_pmd_bnxt.c') diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 3447426100..20bd5d1d1f 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -6,6 +6,7 @@ drivers = ['af_packet', 'avp', 'axgbe', 'bonding', 'bnx2x', + 'bnxt', 'dpaa', 'dpaa2', 'e1000', 'enic', 'fm10k', 'i40e', 'ifc', -- 2.20.1