From 00acd962925a5f9cdf70acc9dc6efa52a26b277e Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 23 Oct 2020 19:41:30 +0200 Subject: [PATCH] regex/octeontx2: fix driver name Following the recent alignment of all driver names, this new driver get unaligned: librte_regex_octeontx2_regex.so The 'fmt_name' must be "octeontx2_regex", and if not provided, is taken from the 'name' variable. But the variable 'name' should not be overwritten, to keep the automatic value from the directory name. The library name will be composed of the class directory and the driver directory name: librte_regex_octeontx2.so Reported-by: Christian Ehrhardt Signed-off-by: Thomas Monjalon Acked-by: David Marchand --- drivers/regex/octeontx2/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regex/octeontx2/meson.build b/drivers/regex/octeontx2/meson.build index 398a981c07..aada0b5601 100644 --- a/drivers/regex/octeontx2/meson.build +++ b/drivers/regex/octeontx2/meson.build @@ -38,7 +38,7 @@ foreach flag: extra_flags endif endforeach -name = 'octeontx2_regex' +fmt_name = 'octeontx2_regex' deps += ['bus_pci', 'common_octeontx2', 'regexdev'] includes += include_directories('../../common/octeontx2') -- 2.20.1