Add octeontx in drivers/compress/meson.build. Also change the config and drv format flags to append _compress to use compression specific format for global filenames. This also require change in compression PMDs to rename their version.map files as rte_pmd_<pmd name>_compress.map ex. Isal should rename as rte_pmd_isal_compress_version.map.
Currently the drivers/compress/meson.build use the generic config names with no compress specific specifier. This breaks meson build when vendor uses same name for different PMDs, where all belongs to same platform. Ex. drivers/net/octeontx, drivers/event/octeontx, drivers/compress/octeontx where, net, event and compress carry PMD for eth, event and compression devices for Octeontx platform. Thus, differentiate globally used files using module specific specifier ex. rte_pmd_octeontx_compress_version.map and rte_pmd_octeontx_event_version.map Signed-off-by: Ashish Gupta <ashish.gu...@caviumnetworks.com> Signed-off-by: Shally Verma <shally.ve...@caviumnetworks.com> Signed-off-by: Sunila Sahu <sunila.s...@caviumnetworks.com> --- .../{rte_pmd_isal_version.map => rte_pmd_isal_compress_version.map} | 0 drivers/compress/meson.build | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/compress/isal/rte_pmd_isal_version.map b/drivers/compress/isal/rte_pmd_isal_compress_version.map similarity index 100% rename from drivers/compress/isal/rte_pmd_isal_version.map rename to drivers/compress/isal/rte_pmd_isal_compress_version.map diff --git a/drivers/compress/meson.build b/drivers/compress/meson.build index fb136e1b2..62e11d781 100644 --- a/drivers/compress/meson.build +++ b/drivers/compress/meson.build @@ -1,8 +1,8 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation -drivers = ['isal'] +drivers = ['isal', 'octeontx'] std_deps = ['compressdev'] # compressdev pulls in all other needed deps -config_flag_fmt = 'RTE_LIBRTE_@0@_PMD' -driver_name_fmt = 'rte_pmd_@0@' +config_flag_fmt = 'RTE_LIBRTE_@0@_COMPRESS_PMD' +driver_name_fmt = 'rte_pmd_@0@_compress' -- 2.14.3