From: Bruce Richardson Date: Fri, 8 Jun 2018 21:20:37 +0000 (+0100) Subject: net/bnxt: add to meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=870c251cd0ae6ef1a27b374c1baf9cd698ce4763;p=dpdk.git net/bnxt: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- 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',