net/bnx2x: add to meson build

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Bruce Richardson 2018-06-08 22:20:36 +01:00 committed by Ferruh Yigit
parent ed71204dd0
commit 4d61166da4
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,14 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
dep = cc.find_library('z', required: false)
build = dep.found()
ext_deps += dep
cflags += '-DZLIB_CONST'
sources = files('bnx2x.c',
'bnx2x_ethdev.c',
'bnx2x_rxtx.c',
'bnx2x_stats.c',
'bnx2x_vfpf.c',
'ecore_sp.c',
'elink.c')

View File

@ -4,7 +4,9 @@
drivers = ['af_packet',
'ark',
'avp',
'axgbe', 'bonding', 'dpaa', 'dpaa2',
'axgbe', 'bonding',
'bnx2x',
'dpaa', 'dpaa2',
'e1000', 'enic', 'fm10k', 'i40e',
'ifc',
'ixgbe',