[11/15] net/sfc: rename version map after library file name
Checks
Commit Message
The library is called librte_pmd_sfc_efx, so rename the map file
and set the name in the meson file so that the built library names with
meson and legacy makefiles are the same
Fixes: bfa8d5990cd6 ("net/sfc: support meson build")
Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <bluca@debian.org>
---
drivers/net/sfc/Makefile | 2 +-
drivers/net/sfc/meson.build | 2 ++
.../{rte_pmd_sfc_version.map => rte_pmd_sfc_efx_version.map} | 0
3 files changed, 3 insertions(+), 1 deletion(-)
rename drivers/net/sfc/{rte_pmd_sfc_version.map => rte_pmd_sfc_efx_version.map} (100%)
@@ -60,7 +60,7 @@ BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.
$(foreach obj, $(BASE_DRIVER_OBJS), \
$(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
-EXPORT_MAP := rte_pmd_sfc_version.map
+EXPORT_MAP := rte_pmd_sfc_efx_version.map
LIBABIVER := 1
@@ -6,6 +6,8 @@
# This software was jointly developed between OKTET Labs (under contract
# for Solarflare) and Solarflare Communications, Inc.
+name = 'sfc_efx'
+
if arch_subdir != 'x86' or cc.sizeof('void *') == 4
build = false
endif
similarity index 100%
rename from drivers/net/sfc/rte_pmd_sfc_version.map
rename to drivers/net/sfc/rte_pmd_sfc_efx_version.map