drivers: cleanup meson build variable
authorThomas Monjalon <thomas@monjalon.net>
Wed, 12 Feb 2020 22:07:03 +0000 (23:07 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:12 +0000 (12:42 +0100)
commit79ece3649ab30ab0addb70d3dffe448bb5adb20b
tree6df809b6b847c5bc9027e2affa211d977cce12c2
parent4231be021a624bfcfbf0f9b3d77ab881c619e609
drivers: cleanup meson build variable

The variable build is already initialized as true in
drivers/meson.build. Duplicate initializations can be removed from mlx.

When the variable build is set to false, it is easier to call
subdir_done() than branch the rest of the code on build condition.

Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/common/mlx5/meson.build
drivers/net/ipn3ke/meson.build
drivers/net/mlx4/meson.build
drivers/raw/ifpga/meson.build