]> git.droids-corp.org - dpdk.git/commit
build: fix warnings when running external commands
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 20 Jan 2022 18:06:39 +0000 (18:06 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 2 Feb 2022 14:44:12 +0000 (15:44 +0100)
commitecb904cc4596b33aa182e2a7c9edc3104ff981c3
treeab7c1e35176bdd2e0809a25dc6402656ec35408c
parent44f44d8298d55afa6ea37fc01c7ebd77d8e6f2e2
build: fix warnings when running external commands

Meson 0.61.1 is giving warnings that the calls to run_command do not
always explicitly specify if the result is to be checked or not, i.e.
there is a missing "check" parameter. This is because the default
behaviour without the parameter is due to change in the future.

We can fix these warnings by explicitly adding into each call whether
the result should be checked by meson or not. This patch therefore
adds in "check: false" to each run_command call where the result is
being checked by the DPDK meson.build code afterwards, and adds in
"check: true" to any calls where the result is currently unchecked.

Bugzilla ID: 921
Cc: stable@dpdk.org
Reported-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Jerin Jacob <jerinj@marvell.com>
app/test/meson.build
buildtools/meson.build
config/arm/meson.build
config/meson.build
config/x86/meson.build
drivers/common/mlx5/linux/meson.build
drivers/common/mlx5/windows/meson.build
drivers/net/mlx4/meson.build
kernel/linux/kni/meson.build
kernel/linux/meson.build
meson.build