mbox series

[v2,0/2] fix build disabling common/mlx5

Message ID 20221030082722.1333530-1-thomas@monjalon.net (mailing list archive)
Headers
Series fix build disabling common/mlx5 |

Message

Thomas Monjalon Oct. 30, 2022, 8:27 a.m. UTC
  Andrew reported a build failure when disabling mlx5 common driver.
It is a blocker for -rc2 release.

While fixing the use of a variable across mlx5 drivers in first patch,
the consistency of its use is improved in a second patch.

v2: apply the same protection to other mlx5 drivers

Thomas Monjalon (2):
  common/mlx5: fix build disabling
  common/mlx5: move Meson config initialization and check

 drivers/common/mlx5/linux/meson.build   | 2 --
 drivers/common/mlx5/meson.build         | 2 ++
 drivers/common/mlx5/windows/meson.build | 4 ----
 drivers/compress/mlx5/meson.build       | 5 +++++
 drivers/crypto/mlx5/meson.build         | 5 +++++
 drivers/net/mlx5/hws/meson.build        | 4 ++++
 drivers/net/mlx5/meson.build            | 9 ++++++---
 drivers/regex/mlx5/meson.build          | 5 +++++
 drivers/vdpa/mlx5/meson.build           | 5 +++++
 9 files changed, 32 insertions(+), 9 deletions(-)
  

Comments

David Marchand Oct. 30, 2022, 9:14 a.m. UTC | #1
On Sun, Oct 30, 2022 at 9:27 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> Andrew reported a build failure when disabling mlx5 common driver.
> It is a blocker for -rc2 release.
>
> While fixing the use of a variable across mlx5 drivers in first patch,
> the consistency of its use is improved in a second patch.
>
> v2: apply the same protection to other mlx5 drivers
>
> Thomas Monjalon (2):
>   common/mlx5: fix build disabling
>   common/mlx5: move Meson config initialization and check
>
>  drivers/common/mlx5/linux/meson.build   | 2 --
>  drivers/common/mlx5/meson.build         | 2 ++
>  drivers/common/mlx5/windows/meson.build | 4 ----
>  drivers/compress/mlx5/meson.build       | 5 +++++
>  drivers/crypto/mlx5/meson.build         | 5 +++++
>  drivers/net/mlx5/hws/meson.build        | 4 ++++
>  drivers/net/mlx5/meson.build            | 9 ++++++---
>  drivers/regex/mlx5/meson.build          | 5 +++++
>  drivers/vdpa/mlx5/meson.build           | 5 +++++
>  9 files changed, 32 insertions(+), 9 deletions(-)

For the series,
Reviewed-by: David Marchand <david.marchand@redhat.com>