ip_frag: rename map file to standardized name
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 31 Aug 2017 13:42:41 +0000 (14:42 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 31 Aug 2017 21:02:57 +0000 (23:02 +0200)
The filenames of the linker map files for DPDK libraries, all follow a
standard format: rte_<libname>_version.map. The ip_frag version, however,
was missing an underscore in the name, so was non-standard. By changing
this, we no longer need the build system to explicitly be given the name of
the mapfile, as it can determine it from the directory/library name.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ip_frag/Makefile
lib/librte_ip_frag/rte_ip_frag_version.map [new file with mode: 0644]
lib/librte_ip_frag/rte_ipfrag_version.map [deleted file]

index 4e693bf..2a8c3e3 100644 (file)
@@ -37,7 +37,7 @@ LIB = librte_ip_frag.a
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
 
-EXPORT_MAP := rte_ipfrag_version.map
+EXPORT_MAP := rte_ip_frag_version.map
 
 LIBABIVER := 1
 
diff --git a/lib/librte_ip_frag/rte_ip_frag_version.map b/lib/librte_ip_frag/rte_ip_frag_version.map
new file mode 100644 (file)
index 0000000..d1acf07
--- /dev/null
@@ -0,0 +1,20 @@
+DPDK_2.0 {
+       global:
+
+       rte_ip_frag_free_death_row;
+       rte_ip_frag_table_create;
+       rte_ip_frag_table_statistics_dump;
+       rte_ipv4_frag_reassemble_packet;
+       rte_ipv4_fragment_packet;
+       rte_ipv6_frag_reassemble_packet;
+       rte_ipv6_fragment_packet;
+
+       local: *;
+};
+
+DPDK_17.08 {
+    global:
+
+    rte_ip_frag_table_destroy;
+
+} DPDK_2.0;
diff --git a/lib/librte_ip_frag/rte_ipfrag_version.map b/lib/librte_ip_frag/rte_ipfrag_version.map
deleted file mode 100644 (file)
index d1acf07..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-DPDK_2.0 {
-       global:
-
-       rte_ip_frag_free_death_row;
-       rte_ip_frag_table_create;
-       rte_ip_frag_table_statistics_dump;
-       rte_ipv4_frag_reassemble_packet;
-       rte_ipv4_fragment_packet;
-       rte_ipv6_frag_reassemble_packet;
-       rte_ipv6_fragment_packet;
-
-       local: *;
-};
-
-DPDK_17.08 {
-    global:
-
-    rte_ip_frag_table_destroy;
-
-} DPDK_2.0;