regex/octeontx2: fix driver name
authorThomas Monjalon <thomas@monjalon.net>
Fri, 23 Oct 2020 17:41:30 +0000 (19:41 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 3 Nov 2020 10:47:44 +0000 (11:47 +0100)
commit00acd962925a5f9cdf70acc9dc6efa52a26b277e
tree5303d0877d284389746e4a09e2518e8e3655a70d
parent41dff30cc3a77ad88ccb56165659cadca64c4825
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 <christian.ehrhardt@canonical.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: David Marchand <david.marchand@redhat.com>
drivers/regex/octeontx2/meson.build