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_vdpa_cthread.c | ||
mlx5_vdpa_event.c | ||
mlx5_vdpa_lm.c | ||
mlx5_vdpa_mem.c | ||
mlx5_vdpa_steer.c | ||
mlx5_vdpa_utils.h | ||
mlx5_vdpa_virtq.c | ||
mlx5_vdpa.c | ||
mlx5_vdpa.h | ||
version.map |