From: Hyong Youb Kim <hyon...@cisco.com> Signed-off-by: Hyong Youb Kim <hyon...@cisco.com> Reviewed-by: John Daley <johnd...@cisco.com> ---
Note: check-git-log.sh seems to fail when files in drivers/net are included even if they are commited independently with the "drivers/net:" prefix. Commiting both files at once. Please ignore check-git-log.sh failure or suggest a petter prefix. drivers/net/enic/meson.build | 19 +++++++++++++++++++ drivers/net/meson.build | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 drivers/net/enic/meson.build diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build new file mode 100644 index 000000000..bfd4e2373 --- /dev/null +++ b/drivers/net/enic/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Cisco Systems, Inc. + +sources = files( + 'base/vnic_cq.c', + 'base/vnic_dev.c', + 'base/vnic_intr.c', + 'base/vnic_rq.c', + 'base/vnic_rss.c', + 'base/vnic_wq.c', + 'enic_clsf.c', + 'enic_ethdev.c', + 'enic_flow.c', + 'enic_main.c', + 'enic_res.c', + 'enic_rxtx.c', + ) +deps += ['hash'] +includes += include_directories('base') diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 704cbe3c8..f535baa13 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation drivers = ['af_packet', 'bonding', - 'e1000', 'fm10k', 'i40e', 'ixgbe', + 'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe', 'null', 'octeontx', 'pcap', 'ring', 'sfc', 'thunderx'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc -- 2.12.0