net/liquidio: add to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 21:20:44 +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>
Acked-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
drivers/net/liquidio/Makefile
drivers/net/liquidio/meson.build [new file with mode: 0644]
drivers/net/liquidio/rte_pmd_lio_version.map [deleted file]
drivers/net/liquidio/rte_pmd_liquidio_version.map [new file with mode: 0644]
drivers/net/meson.build

index fc5f18a..f109285 100644 (file)
@@ -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 (file)
index 0000000..9ae48e2
--- /dev/null
@@ -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_lio_version.map
deleted file mode 100644 (file)
index 8591cc0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-DPDK_17.05 {
-
-       local: *;
-};
diff --git a/drivers/net/liquidio/rte_pmd_liquidio_version.map b/drivers/net/liquidio/rte_pmd_liquidio_version.map
new file mode 100644 (file)
index 0000000..8591cc0
--- /dev/null
@@ -0,0 +1,4 @@
+DPDK_17.05 {
+
+       local: *;
+};
index 707971f..f40958d 100644 (file)
@@ -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