> If the dependency common/mlx5 is explicitly disabled, but net/mlx5 is not > explicitly disabled, Meson will read the full recipe of net/mlx5 and will fail > when accessing a variable from common/mlx5: > drivers/net/mlx5/meson.build:76:4: ERROR: Unknown variable > "mlx5_config". > > The solution is to stop parsing net/mlx5 if common/mlx5 is disabled. > The deps array must be defined before stopping, in order to automatically > disable the build of net/mlx5 and print the reason. > > The same protection is applied to other mlx5 drivers, so it will allow using > the > variable mlx5_config in future. > > Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering") > > Reported-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > Tested-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> Acked-by: Matan Azrad <ma...@nvidia.com>
- DPDK main build is broken for me in net/mlx5 if I disable... Andrew Rybchenko
- [PATCH 0/2] fix build disabling common/mlx5 Thomas Monjalon
- [PATCH 1/2] net/mlx5: fix disabling common/mlx5 ... Thomas Monjalon
- [PATCH 2/2] common/mlx5: move Meson config initi... Thomas Monjalon
- Re: [PATCH 0/2] fix build disabling common/mlx5 Andrew Rybchenko
- [PATCH v2 0/2] fix build disabling common/mlx5 Thomas Monjalon
- [PATCH v2 1/2] common/mlx5: fix build disabling Thomas Monjalon
- RE: [PATCH v2 1/2] common/mlx5: fix build di... Matan Azrad
- Re: [PATCH v2 1/2] common/mlx5: fix build di... Bruce Richardson
- Re: [PATCH v2 1/2] common/mlx5: fix buil... Thomas Monjalon
- Re: [PATCH v2 1/2] common/mlx5: fix... Bruce Richardson
- Re: [PATCH v2 1/2] common/mlx5:... Thomas Monjalon
- [PATCH] common/mlx5: use build ... Thomas Monjalon
- Re: [PATCH] common/mlx5: us... Bruce Richardson
- Re: [PATCH] common/mlx5: us... David Marchand
- Re: [PATCH] common/mlx5: us... David Marchand
- [PATCH v2 2/2] common/mlx5: move Meson config in... Thomas Monjalon
- RE: [PATCH v2 2/2] common/mlx5: move Meson c... Matan Azrad