From: Bruce Richardson Date: Fri, 8 Jun 2018 21:20:36 +0000 (+0100) Subject: net/bnx2x: add to meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4d61166da4ea39dc1c6fde8e7c5acf546f787e44;p=dpdk.git net/bnx2x: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.build new file mode 100644 index 0000000000..e3c6888693 --- /dev/null +++ b/drivers/net/bnx2x/meson.build @@ -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') diff --git a/drivers/net/meson.build b/drivers/net/meson.build index f13f637ea1..3447426100 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -4,7 +4,9 @@ drivers = ['af_packet', 'ark', 'avp', - 'axgbe', 'bonding', 'dpaa', 'dpaa2', + 'axgbe', 'bonding', + 'bnx2x', + 'dpaa', 'dpaa2', 'e1000', 'enic', 'fm10k', 'i40e', 'ifc', 'ixgbe',