3df380f617
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:
|
||
---|---|---|
.. | ||
meson.build | ||
mlx5_regex_control.c | ||
mlx5_regex_devx.c | ||
mlx5_regex_fastpath.c | ||
mlx5_regex_utils.h | ||
mlx5_regex.c | ||
mlx5_regex.h | ||
mlx5_rxp.c | ||
mlx5_rxp.h | ||
version.map |