[dpdk-dev] [PATCH 2/2] build: add module definitions and pci lib support

Pallavi Kadam pallavi.kadam at intel.com
Tue Mar 17 01:48:02 CET 2020


Added mman functions to eal exports list.
Added librte_pci support for Windows.

Signed-off-by: Pallavi Kadam <pallavi.kadam at intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon at intel.com>
---
 lib/librte_eal/rte_eal_exports.def | 2 ++
 lib/meson.build                    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def
index 12a6c79d6..bc577dd45 100644
--- a/lib/librte_eal/rte_eal_exports.def
+++ b/lib/librte_eal/rte_eal_exports.def
@@ -7,3 +7,5 @@ EXPORTS
 	rte_eal_remote_launch
 	rte_log
 	rte_vlog
+	mmap
+	munmap
diff --git a/lib/meson.build b/lib/meson.build
index 0af3efab2..ab580202b 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -33,7 +33,7 @@ libraries = [
 	'flow_classify', 'bpf', 'telemetry']
 
 if is_windows
-	libraries = ['kvargs','eal'] # only supported libraries for windows
+	libraries = ['kvargs','eal','pci'] # only supported libraries for windows
 endif
 
 default_cflags = machine_args
-- 
2.18.0.windows.1



More information about the dev mailing list