From bad475c03fee74e67c495e0758c3ebf37b2c4b77 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 8 Jun 2018 22:20:44 +0100 Subject: [PATCH] net/liquidio: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit Acked-by: Shijith Thotton --- drivers/net/liquidio/Makefile | 2 +- drivers/net/liquidio/meson.build | 8 ++++++++ ...e_pmd_lio_version.map => rte_pmd_liquidio_version.map} | 0 drivers/net/meson.build | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 drivers/net/liquidio/meson.build rename drivers/net/liquidio/{rte_pmd_lio_version.map => rte_pmd_liquidio_version.map} (100%) diff --git a/drivers/net/liquidio/Makefile b/drivers/net/liquidio/Makefile index fc5f18ad63..f1092851a9 100644 --- a/drivers/net/liquidio/Makefile +++ b/drivers/net/liquidio/Makefile @@ -15,7 +15,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci -EXPORT_MAP := rte_pmd_lio_version.map +EXPORT_MAP := rte_pmd_liquidio_version.map LIBABIVER := 1 diff --git a/drivers/net/liquidio/meson.build b/drivers/net/liquidio/meson.build new file mode 100644 index 0000000000..9ae48e2139 --- /dev/null +++ b/drivers/net/liquidio/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +sources = files('base/lio_23xx_vf.c', + 'base/lio_mbox.c', + 'lio_ethdev.c', + 'lio_rxtx.c') +includes += include_directories('base') diff --git a/drivers/net/liquidio/rte_pmd_lio_version.map b/drivers/net/liquidio/rte_pmd_liquidio_version.map similarity index 100% rename from drivers/net/liquidio/rte_pmd_lio_version.map rename to drivers/net/liquidio/rte_pmd_liquidio_version.map diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 707971f8aa..f40958d02a 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -17,6 +17,7 @@ drivers = ['af_packet', 'ifc', 'ixgbe', 'kni', + 'liquidio', 'mvpp2', 'null', 'octeontx', 'pcap', 'ring', 'sfc', 'thunderx', 'virtio'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc -- 2.20.1