From: Bruce Richardson Date: Thu, 31 Aug 2017 13:42:42 +0000 (+0100) Subject: net/ring: rename map file to standardized name X-Git-Tag: spdx-start~2178 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5b9c381397c6ac209871be96e0d4992907110646;p=dpdk.git net/ring: rename map file to standardized name The filenames of the linker map files for DPDK PMDs, all follow a standard format: rte_pmd__version.map. The ring version, however, had eth instead of pmd 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 name. Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/ring/Makefile b/drivers/net/ring/Makefile index b7e1a378a9..7ae15ef44b 100644 --- a/drivers/net/ring/Makefile +++ b/drivers/net/ring/Makefile @@ -39,7 +39,7 @@ LIB = librte_pmd_ring.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -EXPORT_MAP := rte_eth_ring_version.map +EXPORT_MAP := rte_pmd_ring_version.map LIBABIVER := 2 diff --git a/drivers/net/ring/rte_eth_ring_version.map b/drivers/net/ring/rte_eth_ring_version.map deleted file mode 100644 index 1f785d9409..0000000000 --- a/drivers/net/ring/rte_eth_ring_version.map +++ /dev/null @@ -1,14 +0,0 @@ -DPDK_2.0 { - global: - - rte_eth_from_rings; - - local: *; -}; - -DPDK_2.2 { - global: - - rte_eth_from_ring; - -} DPDK_2.0; diff --git a/drivers/net/ring/rte_pmd_ring_version.map b/drivers/net/ring/rte_pmd_ring_version.map new file mode 100644 index 0000000000..1f785d9409 --- /dev/null +++ b/drivers/net/ring/rte_pmd_ring_version.map @@ -0,0 +1,14 @@ +DPDK_2.0 { + global: + + rte_eth_from_rings; + + local: *; +}; + +DPDK_2.2 { + global: + + rte_eth_from_ring; + +} DPDK_2.0;