From: Bruce Richardson Date: Thu, 31 Aug 2017 13:42:41 +0000 (+0100) Subject: ip_frag: rename map file to standardized name X-Git-Tag: spdx-start~2179 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=45a5f7988655bd86ae35e89bae322215291f9353;p=dpdk.git ip_frag: rename map file to standardized name The filenames of the linker map files for DPDK libraries, all follow a standard format: rte__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 Reviewed-by: Ferruh Yigit --- diff --git a/lib/librte_ip_frag/Makefile b/lib/librte_ip_frag/Makefile index 4e693bf8f0..2a8c3e3742 100644 --- a/lib/librte_ip_frag/Makefile +++ b/lib/librte_ip_frag/Makefile @@ -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 index 0000000000..d1acf07cb8 --- /dev/null +++ b/lib/librte_ip_frag/rte_ip_frag_version.map @@ -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 index d1acf07cb8..0000000000 --- a/lib/librte_ip_frag/rte_ipfrag_version.map +++ /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;