net/bnxt: add to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 21:20:37 +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>
app/test-pmd/meson.build
drivers/net/bnxt/meson.build [new file with mode: 0644]
drivers/net/meson.build

index a51514b..4c9fbbf 100644 (file)
@@ -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 (file)
index 0000000..486bf0f
--- /dev/null
@@ -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')
index 3447426..20bd5d1 100644 (file)
@@ -6,6 +6,7 @@ drivers = ['af_packet',
        'avp',
        'axgbe', 'bonding',
        'bnx2x',
+       'bnxt',
        'dpaa', 'dpaa2',
        'e1000', 'enic', 'fm10k', 'i40e',
        'ifc',