On Mon, Jul 08, 2019 at 09:18:04AM +0200, Thomas Monjalon wrote: > Currently mlx4/mlx5 support only Linux. > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > --- > drivers/net/mlx4/meson.build | 11 +++++++++-- > drivers/net/mlx5/meson.build | 10 +++++++++- > 2 files changed, 18 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/mlx4/meson.build b/drivers/net/mlx4/meson.build > index 5de04b70b..028cd97fa 100644 > --- a/drivers/net/mlx4/meson.build > +++ b/drivers/net/mlx4/meson.build > @@ -2,6 +2,13 @@ > # Copyright 2018 6WIND S.A. > # Copyright 2018 Mellanox Technologies, Ltd > > +if not is_linux > + build = false > + reason = 'only supported on Linux' > + subdir_done() > +endif > +build = true > +
Acked-by: Bruce Richardson <bruce.richard...@intel.com>